(doc, lineN)
| 6584 | // Get the line number of the start of the visual line that the |
| 6585 | // given line number is part of. |
| 6586 | function visualLineNo(doc, lineN) { |
| 6587 | var line = getLine(doc, lineN), vis = visualLine(line); |
| 6588 | if (line == vis) return lineN; |
| 6589 | return lineNo(vis); |
| 6590 | } |
| 6591 | // Get the line number of the start of the next visual line after |
| 6592 | // the given line. |
| 6593 | function visualLineEndNo(doc, lineN) { |
no test coverage detected