Rectangle () { if (EditorCoreUtil.isTrueSmoothScrollingEnabled()) { Rectangle viewRect = mySupplier.getScrollPane().getViewport().getViewRect(); return new Rectangle(getOffset(getHorizontalScrollBar()), getOffset(getVerticalScrollBar()), viewRect.width, viewRect.height); } if (myCurrentAnimationRequest != null) { return myCurrentAnimationRequest.getTargetVisibleArea(); } return getVisibleArea(); }