Re: Action based undo or snapshot based undo?
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.