(doc, lineN)
| 797 | // Get the line number of the start of the visual line that the |
| 798 | // given line number is part of. |
| 799 | function visualLineNo(doc, lineN) { |
| 800 | var line = getLine(doc, lineN), vis = visualLine(line); |
| 801 | if (line == vis) { return lineN } |
| 802 | return lineNo(vis) |
| 803 | } |
| 804 | |
| 805 | // Get the line number of the start of the next visual line after |
| 806 | // the given line. |
no test coverage detected