FROM : Ken Victor
DATE : Mon Jul 10 21:29:16 2006
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.
DATE : Mon Jul 10 21:29:16 2006
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.
| Related mails | Author | Date |
|---|---|---|
| James Bucanek | Jul 8, 18:48 | |
| James Bucanek | Jul 10, 01:32 | |
| Ken Victor | Jul 10, 19:08 | |
| Bill Cheeseman | Jul 10, 19:57 | |
| Ken Victor | Jul 10, 21:29 | |
| Bill Cheeseman | Jul 10, 21:53 | |
| James Bucanek | Jul 10, 22:58 | |
| James Bucanek | Jul 11, 21:05 | |
| Ken Victor | Jul 11, 21:37 | |
| James Bucanek | Jul 12, 00:04 |






Cocoa mail archive

