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

Function attachMarkedSpans

samples/common/codehighlight/codemirror.js:1473–1478  ·  view source on GitHub ↗
(line, spans)

Source from the content-addressed store, hash-verified

1471 line.markedSpans = null;
1472 }
1473 function attachMarkedSpans(line, spans) {
1474 if (!spans) { return }
1475 for (var i = 0; i < spans.length; ++i)
1476 { spans[i].marker.attachLine(line); }
1477 line.markedSpans = spans;
1478 }
1479
1480 // Helpers used when computing which overlapping collapsed span
1481 // counts as the larger one.

Callers 2

LineFunction · 0.85
updateLineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected