(cm, scrollbar)
| 26 | } |
| 27 | |
| 28 | function displayRight(cm, scrollbar) { |
| 29 | if (scrollbar && cm.display.scroller.offsetWidth > cm.display.scroller.clientWidth) |
| 30 | return barV(cm).getBoundingClientRect().left; |
| 31 | else |
| 32 | return cm.getWrapperElement().getBoundingClientRect().right - 1; |
| 33 | } |
| 34 | |
| 35 | function testMovedownFixed(cm, hScroll) { |
| 36 | cm.setSize("100px", "100px"); |