Re: NSUndoManager Won't Redo
Re: NSUndoManager Won't Redo
- Subject: Re: NSUndoManager Won't Redo
- From: Quincey Morris <email@hidden>
- Date: Thu, 18 Jul 2013 13:04:03 -0700
On Jul 18, 2013, at 11:58 , Keary Suska <email@hidden> wrote:
> Posting in hopes that someone has run into this case and figured it out.
There used to be a bug in text field undo in a somewhat similar case (though I don't remember whether it involved using separate undo managers for the text fields) and it's quite possible it's never been fixed.
The workaround was to intermediate a NSObjectController between the data model and the text field. This basically does nothing, except perhaps the object controller's commitEditing had a side effect that kept undo from misbehaving.
_______________________________________________
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