• 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: Action based undo or snapshot based undo?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Action based undo or snapshot based undo?


  • Subject: Re: Action based undo or snapshot based undo?
  • From: Bill Cheeseman <email@hidden>
  • Date: Thu, 30 Jan 2003 10:13:13 -0500

on 03-01-30 8:20 AM, Izidor Jerebic at email@hidden wrote:

> Sorry for replying to my own post, but I was not clear - my idea was to
> archive the changed objects only, not the whole model. So only the
> changed objects get archived and restored (with special processing for
> insert/delete)...

I don't see why this wouldn't work in appropriate circumstances. One thing
to be aware of is that the undo and redo stacks store the saved state, and
automatically release it when no longer needed for future undos and redos.
You don't need to maintain a separate cache of your own.

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com

The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont - http://members.valley.net/croquetvermont
_______________________________________________
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.

References: 
 >Re: Action based undo or snapshot based undo? (From: Izidor Jerebic <email@hidden>)

  • Prev by Date: Continue Debugging
  • Next by Date: custom NSRulerView
  • Previous by thread: Re: Action based undo or snapshot based undo?
  • Next by thread: Re: Action based undo or snapshot based undo?
  • Index(es):
    • Date
    • Thread