(cm, measure)
| 650 | } |
| 651 | |
| 652 | function setDocumentHeight(cm, measure) { |
| 653 | cm.display.sizer.style.minHeight = cm.display.heightForcer.style.top = measure.docHeight + "px"; |
| 654 | cm.display.gutters.style.height = Math.max(measure.docHeight, measure.clientHeight - scrollerCutOff) + "px"; |
| 655 | } |
| 656 | |
| 657 | // Read the actual heights of the rendered lines, and update their |
| 658 | // stored heights to match. |