Re: Out-of-order Undos and NSTextField
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