Create a selection from two positions.
Create a selection from coordinates.
a zero based line value
a zero based character value
a zero based line value
a zero based character value
Position of the cursor
Position where selection starts.
End position.
true if start and end are equal
A selection is reversed if active.isBefore(anchor)
true if start.line and end.line are equal
Start position.
Check other equals this range.
a range
Represents a text selection in an editor.