EditorRangeResolver typedef
EditorRangeResolver =
TextSelectionSet Function(TextDocument document, TextSelectionSet current)
Produces a new selection set from the document and current selections.
Hosts use this for motions, search, mouse drags, and fold-aware movement. Editing styles (insert-only, modal, multi-cursor) share the same type.
Implementation
typedef EditorRangeResolver = TextSelectionSet Function(
TextDocument document,
TextSelectionSet current,
);