MCPcopy
hub / github.com/csev/py4e / updateGutterSpace

Function updateGutterSpace

tools/pythonauto/static/codemirrorepl/codemirror.js:334–338  ·  view source on GitHub ↗
(cm)

Source from the content-addressed store, hash-verified

332 }
333
334 function updateGutterSpace(cm) {
335 var width = cm.display.gutters.offsetWidth;
336 cm.display.sizer.style.marginLeft = width + "px";
337 cm.display.scrollbarH.style.left = cm.options.fixedGutter ? width + "px" : 0;
338 }
339
340 // Compute the character length of a line, taking into account
341 // 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