Re: NSTExtView
Re: NSTExtView
- Subject: Re: NSTExtView
- From: Jens Alfke <email@hidden>
- Date: Thu, 22 May 2008 07:51:33 -0700
On 22 May '08, at 3:02 AM, email@hidden wrote:
NSData* tData = [str dataFromRange: NSMakeRange(0, [str
length])
documentAttributes: attr error: nil];
It giving html code, but it doesn;t giving <B>,<I>,<U> and colour tags
corresponding to the texts in textview.
You didn't show where 'str' comes from. Could you add that line?
Also, did you try passing in a value for 'error' to see if any error/
warning messages are returned?
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden