Interface ISelection

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

positionColumn: number

The column on positionLineNumber where the selection has ended.

positionLineNumber: number

The line number on which the selection has ended.

selectionStartColumn: number

The column on selectionStartLineNumber where the selection has started.

selectionStartLineNumber: number

The line number on which the selection has started.