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

Function updateLineHeight

tools/pythonauto/static/codemirror/codemirror.js:5237–5240  ·  view source on GitHub ↗
(line, height)

Source from the content-addressed store, hash-verified

5235 }
5236
5237 function updateLineHeight(line, height) {
5238 var diff = height - line.height;
5239 for (var n = line; n; n = n.parent) n.height += diff;
5240 }
5241
5242 function lineNo(line) {
5243 if (line.parent == null) return null;

Callers 7

estimateLineHeightsFunction · 0.70
updateHeightsInViewportFunction · 0.70
patchDisplayFunction · 0.70
codemirror.jsFile · 0.70
markTextFunction · 0.70
addLineWidgetFunction · 0.70
updateLineFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected