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

Function guttersChanged

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

Source from the content-addressed store, hash-verified

302 }
303
304 function guttersChanged(cm) {
305 updateGutters(cm);
306 regChange(cm);
307 setTimeout(function(){alignHorizontally(cm);}, 20);
308 }
309
310 // Rebuild the gutter elements, ensure the margin to the left of the
311 // code matches their width.

Callers 1

codemirror.jsFile · 0.70

Calls 3

updateGuttersFunction · 0.70
regChangeFunction · 0.70
alignHorizontallyFunction · 0.70

Tested by

no test coverage detected