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

Function attachMarkedSpans

GUI/codemirror/lib/codemirror.js:5336–5341  ·  view source on GitHub ↗
(line, spans)

Source from the content-addressed store, hash-verified

5334 line.markedSpans = null;
5335 }
5336 function attachMarkedSpans(line, spans) {
5337 if (!spans) return;
5338 for (var i = 0; i < spans.length; ++i)
5339 spans[i].marker.attachLine(line);
5340 line.markedSpans = spans;
5341 }
5342
5343 // Helpers used when computing which overlapping collapsed span
5344 // counts as the larger one.

Callers 2

codemirror.jsFile · 0.85
updateLineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…