(doc, lineN)
| 6609 | // Get the line number of the start of the visual line that the |
| 6610 | // given line number is part of. |
| 6611 | function visualLineNo(doc, lineN) { |
| 6612 | var line = getLine(doc, lineN), vis = visualLine(line); |
| 6613 | if (line == vis) return lineN; |
| 6614 | return lineNo(vis); |
| 6615 | } |
| 6616 | // Get the line number of the start of the next visual line after |
| 6617 | // the given line. |
| 6618 | function visualLineEndNo(doc, lineN) { |
no test coverage detected