Skip to main content

Module selection

Module selection 

Source

Structs§

Cursor
A single cursor — anchor + head. Visual selection is the range between them. When equal, it’s just an insertion point.
Cursors
The editor’s cursor state — the single typed home for “where the caret(s) are”.
Selection
A multi-cursor selection — ordered by primary first, then secondaries in insertion order.