MCPcopy Index your code
hub / github.com/csev/py4e / update

Function update

tools/pythonauto/static/codemirror/codemirror.js:4742–4745  ·  view source on GitHub ↗
(line, text, spans)

Source from the content-addressed store, hash-verified

4740 function updateDoc(doc, change, markedSpans, selAfter, estimateHeight) {
4741 function spansFor(n) {return markedSpans ? markedSpans[n] : null;}
4742 function update(line, text, spans) {
4743 updateLine(line, text, spans, estimateHeight);
4744 signalLater(line, "change", line, change);
4745 }
4746
4747 var from = change.from, to = change.to, text = change.text;
4748 var firstLine = getLine(doc, from.line), lastLine = getLine(doc, to.line);

Callers 1

updateDocFunction · 0.70

Calls 2

updateLineFunction · 0.70
signalLaterFunction · 0.70

Tested by

no test coverage detected