()
| 476 | } |
| 477 | |
| 478 | firstNonBlankInLogicalLine(): Cursor { |
| 479 | const { start, end } = this.getLogicalLineBounds() |
| 480 | const lineText = this.text.slice(start, end) |
| 481 | const match = lineText.match(/\S/) |
| 482 | const offset = start + (match?.index ?? 0) |
| 483 | return new Cursor(this.measuredText, offset, 0) |
| 484 | } |
| 485 | |
| 486 | upLogicalLine(): Cursor { |
| 487 | const { start: currentStart } = this.getLogicalLineBounds() |
no test coverage detected