MCPcopy
hub / github.com/csev/py4e / spansFor

Function spansFor

tools/pythonauto/static/codemirrorepl/codemirror.js:5878–5878  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

5876 // Perform a change on the document data structure.
5877 function updateDoc(doc, change, markedSpans, estimateHeight) {
5878 function spansFor(n) {return markedSpans ? markedSpans[n] : null;}
5879 function update(line, text, spans) {
5880 updateLine(line, text, spans, estimateHeight);
5881 signalLater(line, "change", line, change);

Callers 1

updateDocFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected