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

Function attachMarkedSpans

static/js/codemirror/codemirror.js:3759–3764  ·  view source on GitHub ↗
(line, spans)

Source from the content-addressed store, hash-verified

3757 }
3758
3759 function attachMarkedSpans(line, spans) {
3760 if (!spans) return;
3761 for (var i = 0; i < spans.length; ++i)
3762 spans[i].marker.attachLine(line);
3763 line.markedSpans = spans;
3764 }
3765
3766 // LINE WIDGETS
3767

Callers 2

makeLineFunction · 0.85
updateLineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected