MCPcopy
hub / github.com/csev/py4e / visualLine

Function visualLine

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

Source from the content-addressed store, hash-verified

5355 // visual line. This finds the start of the visual line that the
5356 // given line is part of (usually that is the line itself).
5357 function visualLine(line) {
5358 var merged;
5359 while (merged = collapsedSpanAtStart(line))
5360 line = merged.find(-1, true).line;
5361 return line;
5362 }
5363
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.

Callers 8

drawSelectionRangeFunction · 0.70
codemirror.jsFile · 0.70
markTextFunction · 0.70
visualLineNoFunction · 0.70
heightAtLineFunction · 0.70
lineStartFunction · 0.70

Calls 2

collapsedSpanAtStartFunction · 0.70
findMethod · 0.45

Tested by

no test coverage detected