Art,

Surely, when not using undo(), getting rid of it is fine. However, I would say that in many circumstances, it's convenient to use inside your code if you're making changes to an EC, but you want to preserve the state in case something goes wrong (like a save failure due to your added changes). I then use the undo manager to do a partial revert when needed.

Ken

On Jan 21, 2006, at 12:06 AM, Art Isbell wrote:

On Jan 20, 2006, at 12:54 PM, Michael DeMan wrote:

1. assuming you are not using undo().

defaultEditingContext().undoManager().setLevelsOfUndo(1);

If this is good, wouldn't defaultEditingContext().setUndoManager (null) be even better? I've never been tripped up getting rid of the undo manager when not using undo, but maybe I've missed something.

Aloha,
Art

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/lists% 40anderhome.com

This email sent to [EMAIL PROTECTED]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to