Interface IPosition

Expand description

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

interface IPosition {
    column: number;
    lineNumber: number;
}

Properties§

§readonly column: number

column (the first character in a line is between column 1 and column 2)

§readonly lineNumber: number

line number (starts at 1)