MCPcopy Create free account
hub / github.com/sql-js/sql.js / updateLineWidgets

Function updateLineWidgets

GUI/codemirror/lib/codemirror.js:873–881  ·  view source on GitHub ↗
(lineView, dims)

Source from the content-addressed store, hash-verified

871 }
872
873 function updateLineWidgets(lineView, dims) {
874 if (lineView.alignable) lineView.alignable = null;
875 for (var node = lineView.node.firstChild, next; node; node = next) {
876 var next = node.nextSibling;
877 if (node.className == "CodeMirror-linewidget")
878 lineView.node.removeChild(node);
879 }
880 insertLineWidgets(lineView, dims);
881 }
882
883 // Build a line's DOM representation from scratch
884 function buildLineElement(cm, lineView, lineN, dims) {

Callers 1

updateLineForChangesFunction · 0.85

Calls 1

insertLineWidgetsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…