• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSTExtView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >NSTExtView (From: email@hidden)

  • Prev by Date: Newbie query re default buttons
  • Next by Date: Re: Displaying NSAttributedStrings in an NSTableView with non-uniform row height
  • Previous by thread: NSTExtView
  • Next by thread: Re: NSTExtView
  • Index(es):
    • Date
    • Thread