(doc, lineN)
| 1572 | // Get the line number of the start of the visual line that the |
| 1573 | // given line number is part of. |
| 1574 | function visualLineNo(doc, lineN) { |
| 1575 | var line = getLine(doc, lineN), vis = visualLine(line); |
| 1576 | if (line == vis) { return lineN } |
| 1577 | return lineNo(vis) |
| 1578 | } |
| 1579 | |
| 1580 | // Get the line number of the start of the next visual line after |
| 1581 | // the given line. |
no test coverage detected