()
| 453 | } |
| 454 | |
| 455 | endOfLine(): Cursor { |
| 456 | const { line } = this.getPosition() |
| 457 | const column = this.measuredText.getLineLength(line) |
| 458 | const offset = this.getOffset({ line, column }) |
| 459 | return new Cursor(this.measuredText, offset, 0) |
| 460 | } |
| 461 | |
| 462 | // Helper methods for finding logical line boundaries |
| 463 | private findLogicalLineStart(fromOffset: number = this.offset): number { |
no test coverage detected