MCPcopy Create free account
hub / github.com/breck7/scroll / updateGutterSpace

Function updateGutterSpace

external/.scrollLibs.js:6094–6097  ·  view source on GitHub ↗
(cm)

Source from the content-addressed store, hash-verified

6092 }
6093
6094 function updateGutterSpace(cm) {
6095 var width = cm.display.gutters.offsetWidth
6096 cm.display.sizer.style.marginLeft = width + "px"
6097 }
6098
6099 function setDocumentHeight(cm, measure) {
6100 cm.display.sizer.style.minHeight = measure.docHeight + "px"

Callers 3

updateGuttersFunction · 0.85
addEditorMethodsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected