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_ ๐line - ccursor_
next_ word - ccursor_
previous_ ๐line - ccursor_
previous_ word - char_
index_ from_ byte_ index - 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_
linebreak ๐ - is_
word_ char - next_
line_ ๐boundary_ char_ index - next_
word_ ๐boundary_ char_ index - select_
line_ ๐at - select_
word_ ๐at - skip_
word ๐ - slice_
char_ range