MCPcopy
hub / github.com/DHTMLX/gantt / visualLine

Function visualLine

samples/common/codehighlight/codemirror.js:1547–1552  ·  view source on GitHub ↗
(line)

Source from the content-addressed store, hash-verified

1545 // visual line. This finds the start of the visual line that the
1546 // given line is part of (usually that is the line itself).
1547 function visualLine(line) {
1548 var merged;
1549 while (merged = collapsedSpanAtStart(line))
1550 { line = merged.find(-1, true).line; }
1551 return line
1552 }
1553
1554 function visualLineEnd(line) {
1555 var merged;

Callers 8

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

Calls 1

collapsedSpanAtStartFunction · 0.85

Tested by

no test coverage detected