A text selection.

interface ITextSelection {
    end: IPosition;
    start: IPosition;
    uuid: string;
}

Hierarchy (view full)

Properties

Properties

The position of the last character in the current range.

Notes

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.

Notes

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

uuid: string

The uuid of the text selection owner.