• 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
Undo without Redo
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Undo without Redo


  • Subject: Undo without Redo
  • From: John Nairn <email@hidden>
  • Date: Sun, 12 Jul 2009 16:10:53 +0200

I added an option to cancel some action in the middle of the action. The most convenient coding was to implement the cancel by calling undo in the NSUndoManager, but this adds a "Redo" action to redo the partial or incomplete changes (and leaves the data in a poor state).

I can either re-code the change process or for an alternative, is there a way to perform to top level undo without having it moved to the redo stack? Or, similarly, is there a way to perform an undo and then remove the top most item in the redo stack?

------------
John Nairn
http://www.geditcom.com
Genealogy Software for the Mac

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Undo without Redo
      • From: Greg Titus <email@hidden>
    • Re: Undo without Redo
      • From: Jean-Daniel Dupas <email@hidden>
    • Re: Undo without Redo
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Re: Implementing previous, next, first, last controls in Core Data applications
  • Next by Date: Re: Undo without Redo
  • Previous by thread: Re: Solved: Implementing previous, next, first, last controls in Core Data applications
  • Next by thread: Re: Undo without Redo
  • Index(es):
    • Date
    • Thread