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

Function paddingTop

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

Source from the content-addressed store, hash-verified

2408 // POSITION MEASUREMENT
2409
2410 function paddingTop(display) {return display.lineSpace.offsetTop;}
2411 function paddingVert(display) {return display.mover.offsetHeight - display.lineSpace.offsetHeight;}
2412 function paddingH(display) {
2413 if (display.cachedPaddingH) return display.cachedPaddingH;

Callers 4

visibleLinesFunction · 0.70
intoCoordSystemFunction · 0.70
estimateCoordsFunction · 0.70
maybeScrollWindowFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected