Skip to main content

Module selection

Module selection 

Source
Expand description

Selections: (anchor, head, kind).

Multi-cursor is the general case; a single cursor is a Vec<Selection> of length 1. Block (column) selection is a real selection kind because it preserves through edits in a way multi-cursors cannot.

Structs§

Selection
A single cursor or selection.

Enums§

SelectionKind
The flavor of a selection.