(position: Position | number)
| 124 | return undefined; |
| 125 | } |
| 126 | public lineAt(position: Position | number): TextLine { |
| 127 | if (typeof position === 'number') { |
| 128 | return this._lines[position as number]; |
| 129 | } else { |
| 130 | return this._lines[position.line]; |
| 131 | } |
| 132 | } |
| 133 | public offsetAt(position: Position): number { |
| 134 | return this.convertToOffset(position); |
| 135 | } |
no outgoing calls