Re: Continuous controls and undo
Re: Continuous controls and undo
- Subject: Re: Continuous controls and undo
- From: Dan Bernstein <email@hidden>
- Date: Tue, 11 Jan 2005 16:03:02 +0200
Thanks to everyone who's replied. I've decided to do something simpler
that currently works for me:
if ( [undoManager groupingLevel]==0 || [undoManager isUndoing] ||
[undoManager isRedoing] )
[[undoManager prepareWithInvocationTarget:self] setFoo:[self foo]];
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden