MCPcopy
hub / github.com/tilemill-project/tilemill / spansFor

Function spansFor

assets/js/codemirror.js:7163–7163  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

7161 // Perform a change on the document data structure.
7162 function updateDoc(doc, change, markedSpans, estimateHeight) {
7163 function spansFor(n) {return markedSpans ? markedSpans[n] : null;}
7164 function update(line, text, spans) {
7165 updateLine(line, text, spans, estimateHeight);
7166 signalLater(line, "change", line, change);

Callers 2

linesForFunction · 0.85
updateDocFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected