         _selectionAnchorPosition = textFlow.interactionManager.anchorPosition;
         _selectionActivePosition = textFlow.interactionManager.activePosition;
         
+        //trace("selectionChangeHandler", _selectionAnchorPosition, _selectionActivePosition);
+            
         dispatchEvent(new FlexEvent(FlexEvent.SELECTION_CHANGE));
     }
 

            contentChanged = false;
            stylesChanged = false;
            displayAsPasswordChanged = false;
        }

        // Tell the TextFlow to generate TextLines within the
        // rectangle (0, 0, unscaledWidth, unscaledHeight).
        flowComposer = textFlow.flowComposer;

            }
        }
        
        var priorManager:ISelectionManager = textFlow.interactionManager;
        switchInteractionManager(textFlow, editManager);
        
        var applyFormatOperation:ApplyFormatOperation =
            new ApplyFormatOperation(editManager.selectionState,
            characterFormat, paragraphFormat, containerFormat);
        
        editManager.execute(applyFormatOperation);

        // Restore the prior manager if it wasn't an EditManager.
        switchInteractionManager(textFlow, priorManager);
    }

    //--------------------------------------------------------------------------
