MCPcopy
hub / github.com/witheve/Eve / spansFor

Function spansFor

src/codemirror.js:7189–7189  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

7187 // Perform a change on the document data structure.
7188 function updateDoc(doc, change, markedSpans, estimateHeight) {
7189 function spansFor(n) {return markedSpans ? markedSpans[n] : null;}
7190 function update(line, text, spans) {
7191 updateLine(line, text, spans, estimateHeight);
7192 signalLater(line, "change", line, change);

Callers 2

linesForFunction · 0.85
updateDocFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected