• 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: Remove some (and not all) actions from the undo stack
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Remove some (and not all) actions from the undo stack


  • Subject: Re: Remove some (and not all) actions from the undo stack
  • From: Kaspar Fischer <email@hidden>
  • Date: Thu, 23 Feb 2006 10:16:58 +0100

On 21.02.2006, at 21:01, Kaspar Fischer wrote:
Hi,

How can I remove some actions from the undo stack?
More precisely: I programmatically perform an undo
and now want the prevent the user from performing
a redo. How can I do this?

Thanks,
Kaspar

Any thoughts on this?

I think the question is of general interest: for instance,
if you perform a (menu bar) action in a CoreData
application and as part of this action change your object
graph but then run into an error, you have to revert the
changes and then *must* tell the undo manager to prevent
the user from performing a redo!

Kaspar
_______________________________________________
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: Remove some (and not all) actions from the undo stack
      • From: Kaspar Fischer <email@hidden>
  • Prev by Date: Re: Core Data: updating a key dependent on a to-many relationship?
  • Next by Date: Design question: undo-safe "Processing..." sheets
  • Previous by thread: Re: beginner's webKit questions
  • Next by thread: Re: Remove some (and not all) actions from the undo stack
  • Index(es):
    • Date
    • Thread