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

Function updateGutterSpace

static/mergely/lib/codemirror.js:327–330  ·  view source on GitHub ↗
(cm)

Source from the content-addressed store, hash-verified

325 }
326
327 function updateGutterSpace(cm) {
328 var width = cm.display.gutters.offsetWidth;
329 cm.display.sizer.style.marginLeft = width + "px";
330 }
331
332 // Compute the character length of a line, taking into account
333 // 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