Re: Identical undo between two views (or one view, two windows) puzzle
Re: Identical undo between two views (or one view, two windows) puzzle
- Subject: Re: Identical undo between two views (or one view, two windows) puzzle
- From: Robert Clair <email@hidden>
- Date: Wed, 2 Mar 2005 09:56:02 -0500
More importantly, though, I still
haven't got undo to work between fullscreen and normal
mode using this approach, presumably because each
window has its own undo manager (I have tried
windowWillReturnUndoManager to no avail).
It is the NSDocument that holds the undoManager by default (
-undoManager in NSView and NSWindow just passes it on to the next
responder).
-windowWillReturnUndoManager is a delegate method for NSWindow - if you
create delegates for both windows and have both of their
-windowWillReturnUndoManager methods return the undoManager for your
view it should work. How were you trying to do it ?
....Bob Clair
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden