MCPcopy Index your code
hub / github.com/DHTMLX/gantt / linesFor

Function linesFor

samples/common/codehighlight/codemirror.js:4720–4725  ·  view source on GitHub ↗
(start, end)

Source from the content-addressed store, hash-verified

4718 signalLater(line, "change", line, change);
4719 }
4720 function linesFor(start, end) {
4721 var result = [];
4722 for (var i = start; i < end; ++i)
4723 { result.push(new Line(text[i], spansFor(i), estimateHeight)); }
4724 return result
4725 }
4726
4727 var from = change.from, to = change.to, text = change.text;
4728 var firstLine = getLine(doc, from.line), lastLine = getLine(doc, to.line);

Callers 1

updateDocFunction · 0.85

Calls 1

spansForFunction · 0.85

Tested by

no test coverage detected