(cm, measure)
| 789 | } |
| 790 | |
| 791 | function setDocumentHeight(cm, measure) { |
| 792 | cm.display.sizer.style.minHeight = measure.docHeight + "px"; |
| 793 | cm.display.heightForcer.style.top = measure.docHeight + "px"; |
| 794 | cm.display.gutters.style.height = (measure.docHeight + cm.display.barHeight + scrollGap(cm)) + "px"; |
| 795 | } |
| 796 | |
| 797 | // Read the actual heights of the rendered lines, and update their |
| 798 | // stored heights to match. |
no test coverage detected