Expand description
Commands that control the editable text.
Most of the normal text editing is controlled by keyboard events, the EDIT_CMD
command allows for arbitrary text editing without needing to simulate keyboard events.
The node::resolve_text
node implements EDIT_CMD
when the text is editable.
Structs§
- Represents a text edit operation that can be send to an editable text using
EDIT_CMD
. - Represents a text selection operation that can be send to an editable text using
SELECT_CMD
.
Statics§
- Applies the
TextEditOp
into the text if it is editable. - Parse text and update value if
txt_parse
is pending. - Select all text.
- Applies the
TextSelectOp
into the text if it is editable.