()
| 501 | } |
| 502 | |
| 503 | firstNonBlankInLogicalLine(): Cursor { |
| 504 | const { start, end } = this.getLogicalLineBounds() |
| 505 | const lineText = this.text.slice(start, end) |
| 506 | const match = lineText.match(/\S/) |
| 507 | const offset = start + (match?.index ?? 0) |
| 508 | return new Cursor(this.measuredText, offset, 0) |
| 509 | } |
| 510 | |
| 511 | upLogicalLine(): Cursor { |
| 512 | const { start: currentStart } = this.getLogicalLineBounds() |
no test coverage detected