Re: NSUndoManager grouping somewhat broken?
Re: NSUndoManager grouping somewhat broken?
- Subject: Re: NSUndoManager grouping somewhat broken?
- From: Quincey Morris <email@hidden>
- Date: Tue, 8 Apr 2008 00:07:21 -0700
On Apr 7, 2008, at 23:14, Graham Cox wrote:
Can someone confirm that undo groups are broken in this way, or if
they are not broken, explain what the hell the logic is here?
Better still, has anyone written an NSUndoManager subclass that
fixes this?
The Sketch sample project has code to deal with a problem a lot like
this. There are comments in SKTGraphicView.m that lay out the problem
(search for UndoGrouping), and there is code to work around it. Those
comments and that code might contain something you can adapt to your
situation. FWIW.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden