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

Function spansFor

static/js/codemirror/codemirror.js:4127–4127  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

4125
4126 function updateDoc(doc, change, markedSpans, selAfter, estimateHeight) {
4127 function spansFor(n) {return markedSpans ? markedSpans[n] : null;}
4128
4129 var from = change.from, to = change.to, text = change.text;
4130 var firstLine = getLine(doc, from.line), lastLine = getLine(doc, to.line);

Callers 1

updateDocFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected