SelectionRange
class SelectionRange
A single selection range. When allowMultipleSelections is enabled, a selection may hold multiple ranges. By default, selections hold exactly one range.
Functions
Link copied to clipboard
Compare this range to another range, optionally including cursor association.
Link copied to clipboard
Map this range through a change, producing a valid range in the updated document.
Link copied to clipboard
Convert this range to a serializable SelectionRangeData.