MCPcopy Create free account
hub / github.com/breck7/scroll / displayHeight

Function displayHeight

external/.scrollLibs.js:3575–3577  ·  view source on GitHub ↗
(cm)

Source from the content-addressed store, hash-verified

3573 return cm.display.scroller.clientWidth - scrollGap(cm) - cm.display.barWidth
3574 }
3575 function displayHeight(cm) {
3576 return cm.display.scroller.clientHeight - scrollGap(cm) - cm.display.barHeight
3577 }
3578
3579 // Ensure the lineView.wrapping.heights array is populated. This is
3580 // an array of bottom offsets for the lines that make up a drawn

Callers 3

calculateScrollPosFunction · 0.85
postUpdateDisplayFunction · 0.85
addEditorMethodsFunction · 0.85

Calls 1

scrollGapFunction · 0.85

Tested by

no test coverage detected