• 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: Out-of-order Undos and NSTextField
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Out-of-order Undos and NSTextField


  • Subject: Re: Out-of-order Undos and NSTextField
  • From: Ken Victor <email@hidden>
  • Date: Mon, 10 Jul 2006 12:29:16 -0700

what do you mean by "live undo"?

the problem here is NOT that undo doesn't work, its that the undo "chain" in working in the wrong order! edit a NSTextField, change a popup in the same window and register for its undo. hit undo; the text field undoes and then the popup, NOT the proper order!

ken


At 12:01 PM -0700 7/10/06, Bill Cheeseman:
A chapter in my book (written in Jaguar days) shows how you can implement
"live" undo and redo in text fields. It's very tricky, and my technique does
have some problems. Apple came along later and tried to do it themselves,
but as you see they haven't got it quite right either.
_______________________________________________
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


  • Follow-Ups:
    • Re: Out-of-order Undos and NSTextField
      • From: Bill Cheeseman <email@hidden>
  • Prev by Date: Re: NSWindows/NSPanels/NSDrawers are NIL
  • Next by Date: Re: iTunes Programming
  • Previous by thread: Re: Out-of-order Undos and NSTextField [SOLVED, well sort of]
  • Next by thread: Re: Out-of-order Undos and NSTextField
  • Index(es):
    • Date
    • Thread