MCPcopy Index your code
hub / github.com/DHTMLX/gantt / displayWidth

Function displayWidth

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

Source from the content-addressed store, hash-verified

2309
2310 function scrollGap(cm) { return scrollerGap - cm.display.nativeBarWidth }
2311 function displayWidth(cm) {
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 }

Callers 7

ensureLineHeightsFunction · 0.85
drawSelectionRangeFunction · 0.85
calculateScrollPosFunction · 0.85
endOperation_R2Function · 0.85
DisplayUpdateFunction · 0.85
postUpdateDisplayFunction · 0.85
addEditorMethodsFunction · 0.85

Calls 1

scrollGapFunction · 0.85

Tested by

no test coverage detected