temporarily disabling undo
temporarily disabling undo
- Subject: temporarily disabling undo
- From: "Peterson Trethewey" <email@hidden>
- Date: Wed, 26 Apr 2006 14:44:47 -0700
How do you temporarily disable undos in a document-based app?
I'm writing an animation program. The animation plays in the same
window where you edit, but editing while the animation is playing
shouldn't be allowed. The problem is that I'm handling undos using
prepareInvocationWithTarget, so nothing prevents the user from undoing
while playing and that messes things up. So, I need to turn off the
undo machine. Is there a proper way to do that?
Thanks,
Peterson
_______________________________________________
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