Searched refs:oneBasedLine (Results 1 – 1 of 1) sorted by relevance
309 getAbsolutePositionAndLineText(oneBasedLine: number): AbsolutePositionAndLineText {310 return this._getSnapshot().index.lineNumberToInfo(oneBasedLine);392 absolutePositionOfStartOfLine(oneBasedLine: number): number {393 return this.lineNumberToInfo(oneBasedLine).absolutePosition;397 const { oneBasedLine, zeroBasedColumn } = this.root.charOffsetToLineInfo(1, position); constant398 return { line: oneBasedLine, offset: zeroBasedColumn + 1 };409 lineNumberToInfo(oneBasedLine: number): AbsolutePositionAndLineText {411 if (oneBasedLine <= lineCount) {412 const { position, leaf } = this.root.lineNumberToInfo(oneBasedLine, 0);662 …oLineInfo(lineNumberAccumulator: number, relativePosition: number): { oneBasedLine: number, zeroBa…[all …]