MCPcopy Index your code
hub / github.com/witheve/Eve / updateLineWidgets

Function updateLineWidgets

src/codemirror.js:1012–1020  ·  view source on GitHub ↗
(cm, lineView, dims)

Source from the content-addressed store, hash-verified

1010 }
1011
1012 function updateLineWidgets(cm, lineView, dims) {
1013 if (lineView.alignable) lineView.alignable = null;
1014 for (var node = lineView.node.firstChild, next; node; node = next) {
1015 var next = node.nextSibling;
1016 if (node.className == "CodeMirror-linewidget")
1017 lineView.node.removeChild(node);
1018 }
1019 insertLineWidgets(cm, lineView, dims);
1020 }
1021
1022 // Build a line's DOM representation from scratch
1023 function buildLineElement(cm, lineView, lineN, dims) {

Callers 1

updateLineForChangesFunction · 0.85

Calls 1

insertLineWidgetsFunction · 0.85

Tested by

no test coverage detected