• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSUndoManager Won't Redo
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSUndoManager Won't Redo


  • Subject: Re: NSUndoManager Won't Redo
  • From: Keary Suska <email@hidden>
  • Date: Fri, 19 Jul 2013 10:19:40 -0600

On Jul 18, 2013, at 2:04 PM, Quincey Morris wrote:

> 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.

Thank you very much for responding--I am sorry to say that it was my own stupidity. I was simply forgetting to re-register on undo/redo. I was thrown by NSUndoManager presuming there is a redo even though there wasn't one registered, though I can't blame the API for this problem--as much as I want to ;-)

Thanks,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"


_______________________________________________

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


References: 
 >NSUndoManager Won't Redo (From: Keary Suska <email@hidden>)
 >Re: NSUndoManager Won't Redo (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: height of UITableView with exactly two rows
  • Next by Date: Re: height of UITableView with exactly two rows
  • Previous by thread: Re: NSUndoManager Won't Redo
  • Next by thread: Threads
  • Index(es):
    • Date
    • Thread