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

Function scrollGap

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

Source from the content-addressed store, hash-verified

2419 }
2420
2421 function scrollGap(cm) { return scrollerGap - cm.display.nativeBarWidth; }
2422 function displayWidth(cm) {
2423 return cm.display.scroller.clientWidth - scrollGap(cm) - cm.display.barWidth;
2424 }

Callers 8

measureForScrollbarsFunction · 0.70
maybeClipScrollbarsFunction · 0.70
setDocumentHeightFunction · 0.70
displayWidthFunction · 0.70
displayHeightFunction · 0.70
endOperation_R2Function · 0.70
maybeScrollWindowFunction · 0.70
codemirror.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected