MCPcopy Create free account
hub / github.com/sql-js/sql.js / spansFor

Function spansFor

GUI/codemirror/lib/codemirror.js:5928–5928  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

5926 // Perform a change on the document data structure.
5927 function updateDoc(doc, change, markedSpans, estimateHeight) {
5928 function spansFor(n) {return markedSpans ? markedSpans[n] : null;}
5929 function update(line, text, spans) {
5930 updateLine(line, text, spans, estimateHeight);
5931 signalLater(line, "change", line, change);

Callers 1

updateDocFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…