MCPcopy Create free account
hub / github.com/sql-js/sql.js / setDocumentHeight

Function setDocumentHeight

GUI/codemirror/lib/codemirror.js:657–660  ·  view source on GitHub ↗
(cm, measure)

Source from the content-addressed store, hash-verified

655 }
656
657 function setDocumentHeight(cm, measure) {
658 cm.display.sizer.style.minHeight = cm.display.heightForcer.style.top = measure.docHeight + "px";
659 cm.display.gutters.style.height = Math.max(measure.docHeight, measure.clientHeight - scrollerCutOff) + "px";
660 }
661
662
663 function checkForWebkitWidthBug(cm, measure) {

Callers 1

updateDisplayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…