Expand description
Common handling of keyboard input and state management for text input controls
Structsยง
- Clipboard
Event Reaction - Resulting action to be taken by the owner of a text input that is handling a clipboard event.
- Selection
State ๐ - Text
Input - Encapsulated state for handling keyboard input in a single or multiline text input control.
- Text
Point - UTF8
Bytes - UTF16
Code Units
Enumsยง
- Direction
- The direction in which to delete a character.
- KeyReaction
- Resulting action to be taken by the owner of a text input that is handling an event.
- Lines
- Control whether this control should allow multiple lines.
- Selection
- Selection
Direction
Constantsยง
- CMD_
OR_ ๐CONTROL
Traitsยง
- StrExt ๐
Functionsยง
- len_
of_ ๐first_ n_ chars - The length in bytes of the first n characters in a UTF-8 string.
- len_
of_ ๐first_ n_ code_ units - The length in bytes of the first n code units in a string when encoded in UTF-16.