Interface IRange

A range in the editor. This interface is suitable for serialization.

interface IRange {
    endColumn: number;
    endLineNumber: number;
    startColumn: number;
    startLineNumber: number;
}

Properties

endColumn: number

Column on which the range ends in line endLineNumber.

endLineNumber: number

Line number on which the range ends.

startColumn: number

Column on which the range starts in line startLineNumber (starts at 1).

startLineNumber: number

Line number on which the range starts (starts at 1).