• 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: Notifications of undoManager
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Notifications of undoManager


  • Subject: Re: Notifications of undoManager
  • From: Bill Cheeseman <email@hidden>
  • Date: Tue, 10 Sep 2002 07:47:41 -0400

on 02-09-10 3:09 AM, Nicky at email@hidden wrote:

> we have tested all the Notifications "WillUndo","WillRedo", "DidUndo"
> and "DidRedo".
> We implemented a NSBeep() and we noticed that before the actual undo
> change, you reach "WillUndo" and "DidUndo".
> The same for "WillRedo" and "DidRedo".
> It doesn't seem to work the way we expected it to be.

Is it possible that you are updating the GUI in response to undo and redo
commands AFTER the notification method arrives? Be sure to check the content
of your undone or redone data variable, perhaps while stepping in the
debugger; don't just watch the screen.

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com

The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont - http://members.valley.net/croquetvermont
_______________________________________________
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.

References: 
 >Re:Notifications of undoManager (From: Nicky <email@hidden>)

  • Prev by Date: [newbie] NSString code so it won
  • Next by Date: [newbie] NSString code so it won't leak
  • Previous by thread: Re:Notifications of undoManager
  • Next by thread: PDF PageFormat/DocumentFormat
  • Index(es):
    • Date
    • Thread