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

Function displayHeight

static/mergely/lib/codemirror.js:2529–2531  ·  view source on GitHub ↗
(cm)

Source from the content-addressed store, hash-verified

2527 return cm.display.scroller.clientWidth - scrollGap(cm) - cm.display.barWidth;
2528 }
2529 function displayHeight(cm) {
2530 return cm.display.scroller.clientHeight - scrollGap(cm) - cm.display.barHeight;
2531 }
2532
2533 // Ensure the lineView.wrapping.heights array is populated. This is
2534 // an array of bottom offsets for the lines that make up a drawn

Callers 3

postUpdateDisplayFunction · 0.70
calculateScrollPosFunction · 0.70
codemirror.jsFile · 0.70

Calls 1

scrollGapFunction · 0.70

Tested by

no test coverage detected