Interface IPosition

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

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

Properties

Properties

column: number

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

lineNumber: number

line number (starts at 1)