Re: Remove some (and not all) actions from the undo stack
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