MCPcopy Index your code
hub / github.com/csev/py4e / attachMarkedSpans

Function attachMarkedSpans

tools/pythonauto/static/codemirrorepl/codemirror.js:5293–5298  ·  view source on GitHub ↗
(line, spans)

Source from the content-addressed store, hash-verified

5291 line.markedSpans = null;
5292 }
5293 function attachMarkedSpans(line, spans) {
5294 if (!spans) return;
5295 for (var i = 0; i < spans.length; ++i)
5296 spans[i].marker.attachLine(line);
5297 line.markedSpans = spans;
5298 }
5299
5300 // Helpers used when computing which overlapping collapsed span
5301 // counts as the larger one.

Callers 2

codemirror.jsFile · 0.70
updateLineFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected