NSUndoManager in a multiwindow document
NSUndoManager in a multiwindow document
- Subject: NSUndoManager in a multiwindow document
- From: Greg Hulands <email@hidden>
- Date: Sat, 12 Oct 2002 11:39:44 +1000
Hi,
I have a document based application that has its main view as an
"overview" of the documents parts. Each part when clicked opens an
editor, that allows the part to be changed. I have the NSUndoManager
for the overview window which i access through the editor so that
colours, locations of display primitives can be undone redone. The
undo's get put into the NSUndoManager, but the menu options in the edit
menu are not active as if my editor window cannot handle undo redo
actions.
How is the best way to handle the undo redo actions so that my editor
window can validate them. Should I just put it in the editor's view to
handle the undo redo as it has the first responder or is there a more
elegant solution?
Any informations / tips / pointers are greatly appreciated.
TIA,
Greg
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.