         if (op is SplitParagraphOperation && !multiline)
         {
             event.preventDefault();
-            dispatchEvent(new Event("enter"));
+            dispatchEvent(new FlexEvent(FlexEvent.ENTER));
         }
         
         // Otherwise, we dispatch a 'changing' event from the TextView

import flex.utils.TextUtil;

import mx.core.UIComponent;

import text.container.IContainerController;
import text.edit.EditManager;

        _selectionAnchorPosition = textFlow.interactionManager.anchorPosition;
        _selectionActivePosition = textFlow.interactionManager.activePosition;
        
        dispatchEvent(new FlexEvent(FlexEvent.SELECTION_CHANGE));
    }
    
    /**
