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

Function detachMarkedSpans

tools/pythonauto/static/codemirrorepl/codemirror.js:5286–5292  ·  view source on GitHub ↗
(line)

Source from the content-addressed store, hash-verified

5284
5285 // Connect or disconnect spans from a line.
5286 function detachMarkedSpans(line) {
5287 var spans = line.markedSpans;
5288 if (!spans) return;
5289 for (var i = 0; i < spans.length; ++i)
5290 spans[i].marker.detachLine(line);
5291 line.markedSpans = null;
5292 }
5293 function attachMarkedSpans(line, spans) {
5294 if (!spans) return;
5295 for (var i = 0; i < spans.length; ++i)

Callers 2

updateLineFunction · 0.70
cleanUpLineFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected