Class MonacoToProtocolConverter
Hierarchy
- MonacoToProtocolConverter
Methods
asPosition
- asPosition(lineNumber: undefined | null, column: undefined | null): {}
- asPosition(lineNumber: number, column: undefined | null): Pick<Position, "line">
- asPosition(lineNumber: undefined | null, column: number): Pick<Position, "character">
- asPosition(lineNumber: number, column: number): Position
- asPosition(lineNumber: undefined | null | number, column: undefined | null | number): Partial<Position>
Parameters
lineNumber: undefined | null
column: undefined | null
Returns {}
Parameters
lineNumber: number
column: undefined | null
Returns Pick<Position, "line">
Parameters
lineNumber: undefined | null
column: number
Returns Pick<Position, "character">
Parameters
lineNumber: number
column: number
Returns Position
Parameters
lineNumber: undefined | null | number
column: undefined | null | number
Returns Partial<Position>
asRange
- asRange(range: undefined): undefined
- asRange(range: IRange): Range
- asRange(range: undefined | IRange): undefined | Range
- asRange(range: IRange | { insert: IRange; replace: IRange }): Range
- asRange(range: Partial<IRange>): RecursivePartial<Range>
- asRange(range: undefined | Partial<IRange>): undefined | RecursivePartial<Range>
Parameters
Returns undefined
Parameters
Returns Range
Parameters
range: undefined | IRange
Returns undefined | Range
Parameters
range: IRange | { insert: IRange; replace: IRange }
Returns Range
Parameters
Returns RecursivePartial<Range>
Parameters
range: undefined | Partial<IRange>
Returns undefined | RecursivePartial<Range>