(line)
| 5355 | // visual line. This finds the start of the visual line that the |
| 5356 | // given line is part of (usually that is the line itself). |
| 5357 | function visualLine(line) { |
| 5358 | var merged; |
| 5359 | while (merged = collapsedSpanAtStart(line)) |
| 5360 | line = merged.find(-1, true).line; |
| 5361 | return line; |
| 5362 | } |
| 5363 | |
| 5364 | // Returns an array of logical lines that continue the visual line |
| 5365 | // started by the argument, or undefined if there are no such lines. |
no test coverage detected