      *  @param doValidateNow if true, call validateNow() at the end of the 
      *  function 
      */  
-    private function ensureElementPositionIsVisible(element:IVisualElement, elementLocalBounds:Rectangle = null, doValidateNow:Boolean = true):void
+    private function ensureElementPositionIsVisible(element:IVisualElement, 
+                                                    elementLocalBounds:Rectangle = null,
+                                                    entireElementVisible:Boolean = true,
+                                                    doValidateNow:Boolean = true):void
     {
         // First check that the element is a descendant
         // If we are a GraphicElement, use the element's parent

            return;
        }
        
        ensureElementPositionIsVisible(lastFocusedElement, event.newCaretBounds, false);
    }
}


            
            // Scroll the element into view
            
            var delta:Point = layout.getScrollPositionDeltaToAnyElement(element, elementLocalBounds, entireElementVisible);
            
            if (delta)
            {
