                         ac = ac + 1;
                     }
                 } else {
-
+                    //INSERT (TEXT NOT COMPLETE)
                     for (var i:int = 0; i < maskText.length; i++) {
                         if (stack.length == 0) {
                             break;

         * @param event the TextEvent
         */
        protected function overrideText(event:TextEvent):void {
            var an:int = selectionAnchorPosition;
            var ac:int = selectionActivePosition;


    import flash.events.Event;
    import flash.events.TextEvent;

    import flashx.textLayout.edit.EditManager;

    import flashx.textLayout.edit.SelectionState;
    import flashx.textLayout.operations.CompositeOperation;
    import flashx.textLayout.operations.CopyOperation;
