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

Function spansFor

static/editor.md/lib/codemirror/lib/codemirror.js:6946–6946  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

6944 // Perform a change on the document data structure.
6945 function updateDoc(doc, change, markedSpans, estimateHeight) {
6946 function spansFor(n) {return markedSpans ? markedSpans[n] : null;}
6947 function update(line, text, spans) {
6948 updateLine(line, text, spans, estimateHeight);
6949 signalLater(line, "change", line, change);

Callers 2

linesForFunction · 0.70
updateDocFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected