(line)
| 6589 | // visual line. This finds the start of the visual line that the |
| 6590 | // given line is part of (usually that is the line itself). |
| 6591 | function visualLine(line) { |
| 6592 | var merged; |
| 6593 | while (merged = collapsedSpanAtStart(line)) |
| 6594 | line = merged.find(-1, true).line; |
| 6595 | return line; |
| 6596 | } |
| 6597 | |
| 6598 | // Returns an array of logical lines that continue the visual line |
| 6599 | // started by the argument, or undefined if there are no such lines. |
no test coverage detected