(doc, lineN)
| 6382 | // Get the line number of the start of the visual line that the |
| 6383 | // given line number is part of. |
| 6384 | function visualLineNo(doc, lineN) { |
| 6385 | var line = getLine(doc, lineN), vis = visualLine(line); |
| 6386 | if (line == vis) return lineN; |
| 6387 | return lineNo(vis); |
| 6388 | } |
| 6389 | // Get the line number of the start of the next visual line after |
| 6390 | // the given line. |
| 6391 | function visualLineEndNo(doc, lineN) { |
no test coverage detected