(doc, lineN)
| 279 | // Get the line number of the start of the visual line that the |
| 280 | // given line number is part of. |
| 281 | export function visualLineNo(doc, lineN) { |
| 282 | let line = getLine(doc, lineN), vis = visualLine(line) |
| 283 | if (line == vis) return lineN |
| 284 | return lineNo(vis) |
| 285 | } |
| 286 | |
| 287 | // Get the line number of the start of the next visual line after |
| 288 | // the given line. |
no test coverage detected