• 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
NSUndoManager - clearing a single 'redo'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSUndoManager - clearing a single 'redo'


  • Subject: NSUndoManager - clearing a single 'redo'
  • From: Bruce Veazie <email@hidden>
  • Date: Sun, 8 Dec 2002 20:59:40 -0500

Is there a way to prevent an 'undo' from being transferred to the 'redo' stack or to clear just the last redo?

I'm developing a document-based OpenGL modelling app. When an object is loaded from a file I register an 'undo load object' which deletes the object - to permit the user to delete an object just loaded if it's the wrong file, etc. When Cmd-z is used to undo the load, i.e., delete the erroneously loaded object, a 'Redo load object' gets stacked. I'd prefer not to have that 'redo' on the stack.

Anyone know of a way to clear that single 'redo load' when the 'undo load' is invoked?

Bruce J. Veazie
email@hidden
http://veazie.org
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: NSUndoManager - clearing a single 'redo'
      • From: Bill Cheeseman <email@hidden>
    • Re: NSUndoManager - clearing a single 'redo'
      • From: Jérôme Laurens <email@hidden>
  • Prev by Date: Quickly getting file's display name
  • Next by Date: Re: Subject: Re: Cocoa Book
  • Previous by thread: Quickly getting file's display name
  • Next by thread: Re: NSUndoManager - clearing a single 'redo'
  • Index(es):
    • Date
    • Thread