A selection range represents a part of a selection hierarchy. A selection range may have a parent selection range that contains it.

Constructor

new(range:Range, ?parent:SelectionRange)

Creates a new selection range.

Parameters:

range

The range of the selection range.

parent

The parent of the selection range.

Variables

parent:Null<SelectionRange>

The parent selection range containing this range.

range:Range

The {@link Range} of this selection range.