• 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
temporarily disabling undo
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: temporarily disabling undo
      • From: glenn andreas <email@hidden>
  • Prev by Date: Re: Killing a stuck NSThread
  • Next by Date: Re: Bindings in sheet window not working (was: Tables showing different kinds of core data entities)
  • Previous by thread: Re: Killing a stuck NSThread
  • Next by thread: Re: temporarily disabling undo
  • Index(es):
    • Date
    • Thread