MCPcopy Index your code
hub / github.com/csev/py4e / visualLineContinued

Function visualLineContinued

tools/pythonauto/static/codemirrorepl/codemirror.js:5366–5373  ·  view source on GitHub ↗
(line)

Source from the content-addressed store, hash-verified

5364 // Returns an array of logical lines that continue the visual line
5365 // started by the argument, or undefined if there are no such lines.
5366 function visualLineContinued(line) {
5367 var merged, lines;
5368 while (merged = collapsedSpanAtEnd(line)) {
5369 line = merged.find(1, true).line;
5370 (lines || (lines = [])).push(line);
5371 }
5372 return lines;
5373 }
5374
5375 // Get the line number of the start of the visual line that the
5376 // given line number is part of.

Callers 1

LineViewFunction · 0.85

Calls 2

collapsedSpanAtEndFunction · 0.70
findMethod · 0.45

Tested by

no test coverage detected