MCPcopy Create free account
hub / github.com/TruthHun/BookStack / updateGutterSpace

Function updateGutterSpace

static/editor.md/lib/codemirror/lib/codemirror.js:321–324  ·  view source on GitHub ↗
(cm)

Source from the content-addressed store, hash-verified

319 }
320
321 function updateGutterSpace(cm) {
322 var width = cm.display.gutters.offsetWidth;
323 cm.display.sizer.style.marginLeft = width + "px";
324 }
325
326 // Compute the character length of a line, taking into account
327 // collapsed ranges (see markText) that might hide parts, and join

Callers 3

updateGuttersFunction · 0.70
codemirror.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected