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

Function insertLineWidgets

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

Source from the content-addressed store, hash-verified

896 // A lineView may contain multiple logical lines (when merged by
897 // collapsed spans). The widgets for all of them need to be drawn.
898 function insertLineWidgets(lineView, dims) {
899 insertLineWidgetsFor(lineView.line, lineView, dims, true);
900 if (lineView.rest) for (var i = 0; i < lineView.rest.length; i++)
901 insertLineWidgetsFor(lineView.rest[i], lineView, dims, false);
902 }
903
904 function insertLineWidgetsFor(line, lineView, dims, allowAbove) {
905 if (!line.widgets) return;

Callers 2

updateLineWidgetsFunction · 0.85
buildLineElementFunction · 0.85

Calls 1

insertLineWidgetsForFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…