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

Function updateWidgetHeight

tools/pythonauto/static/codemirrorepl/codemirror.js:686–689  ·  view source on GitHub ↗
(line)

Source from the content-addressed store, hash-verified

684 // Read and store the height of line widgets associated with the
685 // given line.
686 function updateWidgetHeight(line) {
687 if (line.widgets) for (var i = 0; i < line.widgets.length; ++i)
688 line.widgets[i].height = line.widgets[i].node.offsetHeight;
689 }
690
691 // Do a bulk-read of the DOM positions and sizes needed to draw the
692 // view, so that we don't interleave reading and writing to the DOM.

Callers 1

updateHeightsInViewportFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected