MCPcopy Index your code
hub / github.com/witheve/Eve / attachMarkedSpans

Function attachMarkedSpans

src/codemirror.js:6527–6532  ·  view source on GitHub ↗
(line, spans)

Source from the content-addressed store, hash-verified

6525 line.markedSpans = null;
6526 }
6527 function attachMarkedSpans(line, spans) {
6528 if (!spans) return;
6529 for (var i = 0; i < spans.length; ++i)
6530 spans[i].marker.attachLine(line);
6531 line.markedSpans = spans;
6532 }
6533
6534 // Helpers used when computing which overlapping collapsed span
6535 // counts as the larger one.

Callers 2

codemirror.jsFile · 0.85
updateLineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected