Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextView limit



On Thursday, July 25, 2002, at 02:50 PM, Nico wrote:

Thanks, but my problem is mainly to understand how to -delete- the lines from the NSTextView.

For that you just modify the NSTextStorage. NSTextStorage is a subclass of NSMutableAttributedString, so you modify it like a mutable attributed string. See the documentation for more information. If you're making multiple modifications in a row, bracket them in beginEditing/endEditing.

Douglas Davidson
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: NSTextView limit (From: Nico <email@hidden>)



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.