• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Identical undo between two views (or one view, two windows) puzzle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Identical undo between two views (or one view, two windows) puzzle (SOLVED)
      • From: Keith Blount <email@hidden>
  • Prev by Date: Re: How Create Installer for a Cocoa Application
  • Next by Date: Re: Releasing an unretained menu item?
  • Previous by thread: Re:How Create Installer for a Cocoa Application
  • Next by thread: Re: Identical undo between two views (or one view, two windows) puzzle (SOLVED)
  • Index(es):
    • Date
    • Thread