The textStorage of the NSTextView is actually an
NSMutableAttributedString subclass so you can treat it as such and get
the text and attributes from it.
On Apr 12, 2008, at 6:48 PM, Lincoln Green wrote:
I am trying to store the selected text in an NSTextView in an
NSString/NSMutableString. I have found the selectedRange method, but
can't figure out how to turn the NSArray into an NSString. Any help
would be greatly appreciated. Thanks!
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]