| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
But won't that add an undo state such that when the user choses undo nothing happens? (Or will it be grouped with another state by the undo manager, so the user won't notice?)
2) You could also do something when you save to simply convince the text view that it should make a new typing "group". Probably the easiest way is to simply change the selection (to anything different), then change it back. NSTextView starts a new typing group if you change the selection between typing characters.
Even if I put the selected range right where it was? I'll have to give that a try. Thanks.
| References: | |
| >Re: understanding NSTextView undo? (From: Jim Correia <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.