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

Function paddingTop

static/mergely/lib/codemirror.js:2514–2514  ·  view source on GitHub ↗
(display)

Source from the content-addressed store, hash-verified

2512 // POSITION MEASUREMENT
2513
2514 function paddingTop(display) {return display.lineSpace.offsetTop;}
2515 function paddingVert(display) {return display.mover.offsetHeight - display.lineSpace.offsetHeight;}
2516 function paddingH(display) {
2517 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