MCPcopy Create free account
hub / github.com/sql-js/sql.js / visualLineContinued

Function visualLineContinued

GUI/codemirror/lib/codemirror.js:5409–5416  ·  view source on GitHub ↗
(line)

Source from the content-addressed store, hash-verified

5407 // Returns an array of logical lines that continue the visual line
5408 // started by the argument, or undefined if there are no such lines.
5409 function visualLineContinued(line) {
5410 var merged, lines;
5411 while (merged = collapsedSpanAtEnd(line)) {
5412 line = merged.find(1, true).line;
5413 (lines || (lines = [])).push(line);
5414 }
5415 return lines;
5416 }
5417
5418 // Get the line number of the start of the visual line that the
5419 // given line number is part of.

Callers 1

LineViewFunction · 0.85

Calls 1

collapsedSpanAtEndFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…