      */
     public function appendText(text:String):void
     {
-        textFlow.interactionManager.setActiveSelection(int.MAX_VALUE, int.MAX_VALUE);
+        textFlow.interactionManager.setSelection(int.MAX_VALUE, int.MAX_VALUE);
         EditManager(textFlow.interactionManager).insertText(text);
     }
 

        // Apply the specified selection indices to the TextFlow.
        if (selectionAnchorPositionChanged || selectionActivePositionChanged)
        {
            textFlow.interactionManager.setActiveSelection(
                _selectionAnchorPosition, _selectionActivePosition);
            
            selectionAnchorPositionChanged = false;

        var containerController:IContainerController =
            textFlow.flowComposer.getControllerAt(0);

        var newContentWidth:Number = containerController.contentWidth;
        var newContentHeight:Number = containerController.contentHeight;
        
        if (newContentWidth != _contentWidth ||
            newContentHeight != _contentHeight)
