(doc, lineN)
| 5375 | // Get the line number of the start of the visual line that the |
| 5376 | // given line number is part of. |
| 5377 | function visualLineNo(doc, lineN) { |
| 5378 | var line = getLine(doc, lineN), vis = visualLine(line); |
| 5379 | if (line == vis) return lineN; |
| 5380 | return lineNo(vis); |
| 5381 | } |
| 5382 | // Get the line number of the start of the next visual line after |
| 5383 | // the given line. |
| 5384 | function visualLineEndNo(doc, lineN) { |
no test coverage detected