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

Function updateGutterSpace

GUI/codemirror/lib/codemirror.js:333–337  ·  view source on GitHub ↗
(cm)

Source from the content-addressed store, hash-verified

331 }
332
333 function updateGutterSpace(cm) {
334 var width = cm.display.gutters.offsetWidth;
335 cm.display.sizer.style.marginLeft = width + "px";
336 cm.display.scrollbarH.style.left = cm.options.fixedGutter ? width + "px" : 0;
337 }
338
339 // Compute the character length of a line, taking into account
340 // collapsed ranges (see markText) that might hide parts, and join

Callers 3

updateGuttersFunction · 0.85
codemirror.jsFile · 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…