Searched refs:zeroBasedColumn (Results 1 – 1 of 1) sorted by relevance
/third_party/typescript/src/server/ |
D | scriptVersionCache.ts | 397 const { oneBasedLine, zeroBasedColumn } = this.root.charOffsetToLineInfo(1, position); constant 398 return { line: oneBasedLine, offset: zeroBasedColumn + 1 }; 401 …private positionToColumnAndLineText(position: number): { zeroBasedColumn: number, lineText: string… 505 const { zeroBasedColumn, lineText } = this.positionToColumnAndLineText(e); constant 506 if (zeroBasedColumn === 0) { 662 …umulator: number, relativePosition: number): { oneBasedLine: number, zeroBasedColumn: number, line… 665 …return { oneBasedLine: lineNumberAccumulator, zeroBasedColumn: relativePosition, lineText: undefin… 671 …return { oneBasedLine: lineNumberAccumulator, zeroBasedColumn: relativePosition, lineText: child.t… 686 return { oneBasedLine: 1, zeroBasedColumn: 0, lineText: undefined }; 689 … return { oneBasedLine: lineCount, zeroBasedColumn: leaf.charCount(), lineText: undefined };
|