MCPcopy Create free account
hub / github.com/TruthHun/BookStack / spansFor

Function spansFor

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

Source from the content-addressed store, hash-verified

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

Callers 2

linesForFunction · 0.70
updateDocFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected