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

Function update

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

Source from the content-addressed store, hash-verified

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);
5882 }
5883
5884 var from = change.from, to = change.to, text = change.text;
5885 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