(line)
| 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. |
| 6373 | function visualLineContinued(line) { |
| 6374 | var merged, lines; |
| 6375 | while (merged = collapsedSpanAtEnd(line)) { |
| 6376 | line = merged.find(1, true).line; |
| 6377 | (lines || (lines = [])).push(line); |
| 6378 | } |
| 6379 | return lines; |
| 6380 | } |
| 6381 | |
| 6382 | // Get the line number of the start of the visual line that the |
| 6383 | // given line number is part of. |
no test coverage detected