Lines Matching refs:to
12 it. Text or characters can be added to it. Long lines are wrapped and when the
26 style properties including ``text_align`` to align the text to the left,
37 and background opacity to :cpp:enumerator:`LV_PART_CURSOR`\ 's style. To create
40 - :cpp:enumerator:`LV_PART_TEXTAREA_PLACEHOLDER` Unique to Text Area; allows styling
53 You can insert text or characters to the current cursor's position with:
70 a handy way to provide the end user with a hint about what to type there.
78 To delete the character to the left of the current cursor position, use
81 To delete to the right, use :cpp:expr:`lv_textarea_delete_char_forward(textarea)`
89 :cpp:enumerator:`LV_TEXTAREA_CURSOR_LAST` can be passed to mean "after the
100 cursor will jump to the position where the Text Area was clicked.
105 The cursor is normally always visible. It it can be a good idea to style it
106 to be visible only in :cpp:enumerator:`LV_STATE_FOCUSED` state. See :ref:`styles`
107 for more information about how to do this.
112 The Text Area can be configured to keep all text on a single line with
115 - the height is set automatically to show only one line,
127 character exists in the font, the entered characters are converted to it after
147 pointer to a NUL-terminated string, or NULL to accept all characters. Characters
165 ``lv_conf.h`` to a non-zero value, the performance with long text is significantly
170 This value is set to ``1`` by default. If you do not use long text, you can save
171 12 bytes per label by setting it to ``0``.
176 If :c:macro:`LV_LABEL_TEXT_SELECTION` is set to a non-zero value in ``lv_conf.h``,
177 some additional functionality (and 8 bytes per label) are added to Label Widgets
180 per label in RAM by setting that macro to equate to ``0``.)
185 pointer input device. If you pass ``false`` to this function to disable text
188 Shift+click and keyboard-only text selection with Shift+Arrow keys is expected to
191 If you need to programmatically deal with selected text, in addition to the
193 is your tool set for doing so. (``ta_label`` is a pointer to the Text Area's
201 Pass :c:macro:`LV_DRAW_LABEL_NO_TXT_SEL` to specify no text selected.
204 Pass :c:macro:`LV_DRAW_LABEL_NO_TXT_SEL` to specify no text selected.
213 but if you do need to change the selection programmatically, the above are your
214 tools to do so.
223 inserted. The event parameter is the text about to be inserted.
225 from within that event to replace the text to be inserted. The contents of the
226 buffer passed must be survive long enough for the call to `lv_timer_handler()`
227 that is driving the event to return (after which the Text Area's label will have
234 pressed (or sent) to a one-line Text Area.
250 - ``Any character`` Add the character to the current cursor position