Hi I am embedding Gecko into my application. I am wondering, is there any way to implement Undo/Redo/Delete actions for the context menu which I show on the input/textarea element?
I have tried to call CommandManager doCommand with cmd_undo but it doesn't do anything. Also I have tried to use nsIEditor, but have the same problem. in the OnShowContextMenu it says that editor.CanUndo=true, but when I click on the menu item and call Undo method, it shows exception (and if I check at that momen CanUndo is already=false). I did not find any examples of Undo/Redo/Delete actions. Please help. -- Best Wishes Sergiy Kurinny _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
