Expand description
Text cursor changes/interaction, without modifying the text.
Structs§
- Text
Cursor State - The state of a text cursor selection.
Functions§
- byte_
index_ from_ char_ index - ccursor_
next_ word - ccursor_
previous_ word - cursor_
rect - The thin rectangle of one end of the selection, e.g. the primary cursor, in local galley coordinates.
- find_
line_ start - Accepts and returns character offset (NOT byte offset!).
- is_
word_ char - slice_
char_ range