         var editManager:IEditManager = getEditManager();
         
         // An append is an insert with the selection set to the end.
-        editManager.setSelection(int.MAX_VALUE, int.MAX_VALUE);
+        editManager.selectRange(int.MAX_VALUE, int.MAX_VALUE);
 
         // Our damage handler should be active.  Inserting the text invokes
         // our damage handler to invalidate the text, maybe the size, and


		var selectionManager:ISelectionManager = getSelectionManager();
        
        selectionManager.setSelection(anchorPosition, activePosition);        
                
        // Refresh the selection.  This does not cause a damage event.
        selectionManager.refreshSelection();

        // Othewise, it is at the end.
        var position:int = _clipAndEnableScrolling ? 0 : int.MAX_VALUE;                

        selectionManager.selectRange(position, position); 
        
        // This should not be necessary but it is if the text is changed after
        // the component already has focus.  Need the selectionFormatState
