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

Function updateLineWidgets

tools/pythonauto/static/codemirrorepl/codemirror.js:858–866  ·  view source on GitHub ↗
(lineView, dims)

Source from the content-addressed store, hash-verified

856 }
857
858 function updateLineWidgets(lineView, dims) {
859 if (lineView.alignable) lineView.alignable = null;
860 for (var node = lineView.node.firstChild, next; node; node = next) {
861 var next = node.nextSibling;
862 if (node.className == "CodeMirror-linewidget")
863 lineView.node.removeChild(node);
864 }
865 insertLineWidgets(lineView, dims);
866 }
867
868 // Build a line's DOM representation from scratch
869 function buildLineElement(cm, lineView, lineN, dims) {

Callers 1

updateLineForChangesFunction · 0.85

Calls 2

insertLineWidgetsFunction · 0.85
removeChildMethod · 0.45

Tested by

no test coverage detected