(line)
| 1511 | // Returns an array of logical lines that continue the visual line |
| 1512 | // started by the argument, or undefined if there are no such lines. |
| 1513 | function visualLineContinued(line) { |
| 1514 | var merged, lines |
| 1515 | while ((merged = collapsedSpanAtEnd(line))) { |
| 1516 | line = merged.find(1, true).line |
| 1517 | ;(lines || (lines = [])).push(line) |
| 1518 | } |
| 1519 | return lines |
| 1520 | } |
| 1521 | |
| 1522 | // Get the line number of the start of the visual line that the |
| 1523 | // given line number is part of. |
no test coverage detected