(line)
| 770 | // visual line. This finds the start of the visual line that the |
| 771 | // given line is part of (usually that is the line itself). |
| 772 | function visualLine(line) { |
| 773 | var merged; |
| 774 | while (merged = collapsedSpanAtStart(line)) |
| 775 | { line = merged.find(-1, true).line; } |
| 776 | return line |
| 777 | } |
| 778 | |
| 779 | function visualLineEnd(line) { |
| 780 | var merged; |
no test coverage detected