MCPcopy Index your code
hub / github.com/ronreiter/interactive-tutorials / visualLine

Function visualLine

static/js/codemirror/codemirror.js:3719–3724  ·  view source on GitHub ↗
(doc, line)

Source from the content-addressed store, hash-verified

3717 function collapsedSpanAtEnd(line) { return collapsedSpanAt(line, line.text.length + 1); }
3718
3719 function visualLine(doc, line) {
3720 var merged;
3721 while (merged = collapsedSpanAtStart(line))
3722 line = getLine(doc, merged.find().from.line);
3723 return line;
3724 }
3725
3726 function lineIsHidden(doc, line) {
3727 var sps = sawCollapsedSpans && line.markedSpans;

Callers 6

updateDisplayInnerFunction · 0.85
codemirror.jsFile · 0.85
markTextFunction · 0.85
heightAtLineFunction · 0.85
lineStartFunction · 0.85

Calls 3

collapsedSpanAtStartFunction · 0.85
getLineFunction · 0.85
findMethod · 0.45

Tested by

no test coverage detected