If you generate HTML you can get better control over formatting using CSS.

Or you can build the formatted text directly using NSAttributedString, although this can be a pain.

--Jens   {via iPhone}


On Sep 22, 2009, at 7:56 AM, Arun <arun...@gmail.com> wrote:

Hi All,
I have a set of lines and needs to display in following format.

================================================
*This is the list which has a*

  - the string quality
  - the another quality
  - the another quality

Now this will explain *some meaning* text in a paragraph with a link say
www.google.com.

================================================

So what is the better approch?

I have thought of a approches.

1. To read the entire strings from RTF file and dump onto NSTextView.
This i tried and worked fine. Only thing is when the mouse was taken over the link, the hand cutsor did not appear. Also it has a drawback that i
can't configure the colour of link in RTF.

Is there any better approch?

Thanks
Arun KA
_______________________________________________

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/jens%40mooseyard.com

This email sent to j...@mooseyard.com
_______________________________________________

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 arch...@mail-archive.com

Reply via email to