MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / detachMarkedSpans

Function detachMarkedSpans

static/js/codemirror/codemirror.js:3751–3757  ·  view source on GitHub ↗
(line)

Source from the content-addressed store, hash-verified

3749 }
3750
3751 function detachMarkedSpans(line) {
3752 var spans = line.markedSpans;
3753 if (!spans) return;
3754 for (var i = 0; i < spans.length; ++i)
3755 spans[i].marker.detachLine(line);
3756 line.markedSpans = null;
3757 }
3758
3759 function attachMarkedSpans(line, spans) {
3760 if (!spans) return;

Callers 2

updateLineFunction · 0.85
cleanUpLineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected