MCPcopy Index your code
hub / github.com/DHTMLX/gantt / updateLineWidgets

Function updateLineWidgets

samples/common/codehighlight/codemirror.js:2208–2216  ·  view source on GitHub ↗
(cm, lineView, dims)

Source from the content-addressed store, hash-verified

2206 }
2207
2208 function updateLineWidgets(cm, lineView, dims) {
2209 if (lineView.alignable) { lineView.alignable = null; }
2210 var isWidget = classTest("CodeMirror-linewidget");
2211 for (var node = lineView.node.firstChild, next = (void 0); node; node = next) {
2212 next = node.nextSibling;
2213 if (isWidget.test(node.className)) { lineView.node.removeChild(node); }
2214 }
2215 insertLineWidgets(cm, lineView, dims);
2216 }
2217
2218 // Build a line's DOM representation from scratch
2219 function buildLineElement(cm, lineView, lineN, dims) {

Callers 1

updateLineForChangesFunction · 0.85

Calls 2

classTestFunction · 0.85
insertLineWidgetsFunction · 0.85

Tested by

no test coverage detected