Re: Undo in tables
Re: Undo in tables
- Subject: Re: Undo in tables
- From: Bill Cheeseman <email@hidden>
- Date: Sat, 13 Apr 2002 08:09:19 -0400
on 02-04-12 12:47 PM, Raphael Sebbe at email@hidden wrote:
>
Perhaps this can help you, http://www.ex-
>
cinder.com/downloads/undo-article.rtf
>
>
This is an article on which I worked some time ago, still in draft state
>
and not published but there's quite a lot of information in it.
Thanks. I'm a strong believer in sharing what one has learned, and I
appreciate your thoughtfulness in sending me this.
I have a couple of comments.
1. Near the end of the article, you talke about methods to suspend and
resume undo registration. I use the built-in NSUndoManager methods
disableUndoRegistration and enableUndoRegistration for this. I haven't
studied your examples carefully enough to be sure this is applicable there,
but I thought I would mention it. If you use these to bracket calls that
would normally register with the undo manager, they won't register even
though there code tells them to. I find this especially useful during object
initialization, but also in other circumstances.
2. In your discussion of create/delete methods, you mention the need to
maintain a pool of deleted methods available for redo-recreate. But you
don't give an example. I'm about to implement that myself, and I think your
readers would like to see an example of how to do this. I know I would! --
but don't write it for me, because I'll be done by the end of the day.
--
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.