Expand description
Selection ranges and paint geometry. Syntax-aware selection ranges and visual selection rectangles.
Enums§
- Selection
Granularity - Unit chosen for a pointer-driven selection gesture.
Functions§
- select_
line_ at - Returns the logical line containing a UTF-8 byte offset, excluding
\n. - select_
token_ at - Returns the first selectable syntax-token range containing
byte. - select_
word_ at - Selects a syntax token or ASCII lexical word around a UTF-8 byte offset.
- selection_
rects_ for_ run - Builds viewport-space rectangles for a run-local byte selection.