(line)
| 6362 | // visual line. This finds the start of the visual line that the |
| 6363 | // given line is part of (usually that is the line itself). |
| 6364 | function visualLine(line) { |
| 6365 | var merged; |
| 6366 | while (merged = collapsedSpanAtStart(line)) |
| 6367 | line = merged.find(-1, true).line; |
| 6368 | return line; |
| 6369 | } |
| 6370 | |
| 6371 | // Returns an array of logical lines that continue the visual line |
| 6372 | // started by the argument, or undefined if there are no such lines. |
no test coverage detected