On Apr 13, 2008, at 12:15 PM, Lincoln Green wrote:
NSAttributedString *string = [textView attributedSubstringFromRange:
[textView selectedRange]];
[textView setString:string];
You're passing an NSAttributedString to a method that expects a
NSString.
You probably would want to have a look at the NSTextStorage property
of your text view.
j o a r
_______________________________________________
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]