Constructors
constructor
- new Position(lineNumber: number, column: number): Position
-
Parameters
-
lineNumber: number
-
column: number
Properties
lineNumber
lineNumber: number
Methods
delta
- delta(deltaLineNumber?: number, deltaColumn?: number): Position
-
Parameters
-
Optional deltaLineNumber: number
-
Optional deltaColumn: number
equals
-
Parameters
Returns boolean
isBefore
-
Parameters
Returns boolean
isBeforeOrEqual
-
Parameters
Returns boolean
with
- with(newLineNumber?: number, newColumn?: number): Position
-
Parameters
-
Optional newLineNumber: number
-
Optional newColumn: number
Static compare
-
Parameters
Returns number
Static equals
-
Parameters
Returns boolean
Static isBefore
-
Parameters
Returns boolean
Static isBeforeOrEqual
-
Parameters
Returns boolean
Static isIPosition
- isIPosition(obj: any): obj
A position in the editor.