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

Function updateLineHeight

tools/pythonauto/static/codemirrorepl/codemirrorepl.js:535–539  ·  view source on GitHub ↗
(line, height)

Source from the content-addressed store, hash-verified

533
534 function getLine(n) { return getLineAt(doc, n); }
535 function updateLineHeight(line, height) {
536 gutterDirty = true;
537 var diff = height - line.height;
538 for (var n = line; n; n = n.parent) n.height += diff;
539 }
540
541 function setValue(code) {
542 var top = {line: 0, ch: 0};

Callers 4

updateLinesNoUndoFunction · 0.70
checkHeightsFunction · 0.70
wrappingChangedFunction · 0.70
setLineHiddenFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected