EditorSelection
class EditorSelection
An editor selection holds one or more selection ranges.
Properties
Functions
Link copied to clipboard
Extend this selection with an extra range.
Link copied to clipboard
Make sure the selection only has one range.
Link copied to clipboard
Convert this EditorSelection to a SelectionSpec.
Link copied to clipboard
Compare this selection to another selection, optionally including cursor association.
Link copied to clipboard
Map a selection through a change. Used to adjust the selection position for changes.
Link copied to clipboard
Replace a given range with another range, and then normalize the selection to merge and sort ranges if necessary.
Link copied to clipboard
Convert this selection to a serializable EditorSelectionData.