MCPcopy
hub / github.com/DHTMLX/gantt / displayHeight

Function displayHeight

samples/common/codehighlight/codemirror.js:2314–2316  ·  view source on GitHub ↗
(cm)

Source from the content-addressed store, hash-verified

2312 return cm.display.scroller.clientWidth - scrollGap(cm) - cm.display.barWidth
2313 }
2314 function displayHeight(cm) {
2315 return cm.display.scroller.clientHeight - scrollGap(cm) - cm.display.barHeight
2316 }
2317
2318 // Ensure the lineView.wrapping.heights array is populated. This is
2319 // 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