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

Function insertLineWidgets

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

Source from the content-addressed store, hash-verified

2231 // A lineView may contain multiple logical lines (when merged by
2232 // collapsed spans). The widgets for all of them need to be drawn.
2233 function insertLineWidgets(cm, lineView, dims) {
2234 insertLineWidgetsFor(cm, lineView.line, lineView, dims, true);
2235 if (lineView.rest) { for (var i = 0; i < lineView.rest.length; i++)
2236 { insertLineWidgetsFor(cm, lineView.rest[i], lineView, dims, false); } }
2237 }
2238
2239 function insertLineWidgetsFor(cm, line, lineView, dims, allowAbove) {
2240 if (!line.widgets) { return }

Callers 2

updateLineWidgetsFunction · 0.85
buildLineElementFunction · 0.85

Calls 1

insertLineWidgetsForFunction · 0.85

Tested by

no test coverage detected