     public function scrollToRange(anchorPosition:int = 0,
                                   activePosition:int = int.MAX_VALUE):void
     {
-        // Make sure all properties are committed before doing the operation.
-        validateProperties();
+        // Make sure the properties are commited and the text is composed.
+        validateNow();
 
         // Scrolls so that the text position is visible in the container. 
         textContainerManager.scrollToRange(anchorPosition, activePosition);       

        var format:TextLayoutFormat = new TextLayoutFormat();
 
         // Make sure all properties are committed before doing the operation.
        validateProperties();

        var selectionManager:ISelectionManager = getSelectionManager();
                

        // The focusOutHandler is called by the TCMContainer focusOutHandler.
        // The keyDownHandler is called by the TCMContainer keyDownHandler.
                        
        // Add event listeners on its TextContainerManager.
        
        _textContainerManager.addEventListener(
