(line)
| 252 | // visual line. This finds the start of the visual line that the |
| 253 | // given line is part of (usually that is the line itself). |
| 254 | export function visualLine(line) { |
| 255 | let merged |
| 256 | while (merged = collapsedSpanAtStart(line)) |
| 257 | line = merged.find(-1, true).line |
| 258 | return line |
| 259 | } |
| 260 | |
| 261 | export function visualLineEnd(line) { |
| 262 | let merged |
no test coverage detected