A text selection.

interface ITextSelection {
    end: IPosition;
    start: IPosition;
    uuid: string;
    [key: string]: JSONValue;
}

Hierarchy (View Summary)

Indexable

Properties

Properties

The position of the last character in the current range.

If this position is less than [start] then the range is considered to be backward.

start: IPosition

The position of the first character in the current range.

If this position is greater than [end] then the range is considered to be backward.

uuid: string

The uuid of the text selection owner.