      */
     private var textDisplay:RichEditableText;
 
+    
+    /**
+     *  @private
+     *  TLF doesn't guarantee it won't touch the context menu.  It removes it
+     *  when it switches from the factory to the composer so we need to save it.
+     */
+    private var userContextMenu:ContextMenu;
+    
     //--------------------------------------------------------------------------
     //
     //  Overridden methods

        
    /**
     *  @private
     */
    override protected function getUndoManager():IUndoManager
    {

import flash.events.KeyboardEvent;
import flash.events.MouseEvent;
import flash.geom.Rectangle;
import flash.ui.ContextMenu;
import flash.ui.Keyboard;

import flashx.textLayout.container.ContainerController;
