* Find the visual line index for the current cursor position.
(
visualLines: Array<{ logicalLine: number; startCol: number; length: number }>,
)
| 1848 | * Find the visual line index for the current cursor position. |
| 1849 | */ |
| 1850 | private findCurrentVisualLine( |
| 1851 | visualLines: Array<{ logicalLine: number; startCol: number; length: number }>, |
| 1852 | ): number { |
| 1853 | return this.findVisualLineAt(visualLines, this.state.cursorLine, this.state.cursorCol); |
| 1854 | } |
| 1855 | |
| 1856 | private moveCursor(deltaLine: number, deltaCol: number): void { |
| 1857 | this.lastAction = null; |
no test coverage detected