 
         if (anchorPosition != -1 && activePosition != -1)
         {
-            selectionManager.setSelection(oldAnchorPosition, oldActivePosition);
+            selectionManager.selectRange(oldAnchorPosition, oldActivePosition);
         }        
         
         // Extract the requested formats to return.


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

            oldAnchorPosition = _selectionAnchorPosition;
            oldActivePosition = _selectionActivePosition;
            
            selectionManager.selectRange(anchorPosition, activePosition);        
        }                       
                               
        if (needContainerFormat)
