Interface ISelection

Expand description

A selection in the editor. The selection is a range that has an orientation.

interface ISelection {
    positionColumn: number;
    positionLineNumber: number;
    selectionStartColumn: number;
    selectionStartLineNumber: number;
}

Properties§

§readonly positionColumn: number

The column on positionLineNumber where the selection has ended.

§readonly positionLineNumber: number

The line number on which the selection has ended.

§readonly selectionStartColumn: number

The column on selectionStartLineNumber where the selection has started.

§readonly selectionStartLineNumber: number

The line number on which the selection has started.