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

Function guttersChanged

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

Source from the content-addressed store, hash-verified

296 }
297
298 function guttersChanged(cm) {
299 updateGutters(cm);
300 regChange(cm);
301 setTimeout(function(){alignHorizontally(cm);}, 20);
302 }
303
304 // Rebuild the gutter elements, ensure the margin to the left of the
305 // 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