Lines Matching refs:text
7 Long lines are wrapped and when the text becomes long enough the Text area can be scrolled.
12 …of the text area. Uses all the typical background style properties and the text related style prop…
13 - `LV_PART_SCROLLBAR` The scrollbar that is shown when the text is too long.
14 …text](/widgets/core/label.html#text-selection). Only `text_color` and `bg_color` style properties …
18 - `LV_PART_TEXTAREA_PLACEHOLDER` Unique to Text Area, allows styling the placeholder text.
22 ### Add text
24 You can insert text or characters to the current cursor's position with:
27 - `lv_textarea_add_text(textarea, "insert this text")`
31 `lv_textarea_set_text(ta, "New text")` changes the whole text.
35 …aceholder text can be specified - which is displayed when the Text area is empty - with `lv_textar…
64 The text area supports password mode which can be enabled with `lv_textarea_set_password_mode(texta…
68 In password mode `lv_textarea_get_text(textarea)` returns the actual text entered, not the bullet c…
76 ### Max text length
81 If there is a very long text in the Text area (e.g. > 20k characters), scrolling and drawing might …
86 ### Select text
87 Any part of the text can be selected if enabled with `lv_textarea_set_text_selection(textarea, true…
88 This works much like when you select text on your PC with your mouse.
91 - `LV_EVENT_INSERT` Sent right before a character or text is inserted.
92 The event parameter is the text about to be inserted. `lv_textarea_set_insert_replace(textarea, "Ne…
93 The new text cannot be in a local variable which is destroyed when the event callback exists. `""` …
94 - `LV_EVENT_VALUE_CHANGED` Sent when the content of the text area has been changed.
95 - `LV_EVENT_READY` Sent when `LV_KEY_ENTER` is pressed (or sent) to a one line text area.