| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Manipulate the text storage directly. Iterate over it by effective ranges for NSFontAttributeName, making your changes. Be sure to call -[NSTextView shouldChangeTextInRange:replacementString:] first, then -[NSTextStorage beginEditing], then make your changes, then call -[NSTextStorage endEditing] and -[NSTextView didChangeText].
| References: | |
| >Re: Changing font stuff in NSTextView + Undo (From: Douglas Davidson <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.