MCPcopy
hub / github.com/witheve/Eve / displayHeight

Function displayHeight

src/codemirror.js:2537–2539  ·  view source on GitHub ↗
(cm)

Source from the content-addressed store, hash-verified

2535 return cm.display.scroller.clientWidth - scrollGap(cm) - cm.display.barWidth;
2536 }
2537 function displayHeight(cm) {
2538 return cm.display.scroller.clientHeight - scrollGap(cm) - cm.display.barHeight;
2539 }
2540
2541 // Ensure the lineView.wrapping.heights array is populated. This is
2542 // an array of bottom offsets for the lines that make up a drawn

Callers 3

postUpdateDisplayFunction · 0.85
calculateScrollPosFunction · 0.85
codemirror.jsFile · 0.85

Calls 1

scrollGapFunction · 0.85

Tested by

no test coverage detected