On Sep 22, 2009, at 9:12 AM, Arun wrote:

I have written a sample code which displays the contents of RTF file
in Mutiline text filed.
The RTF file has a text which is styled like a web-link.
when i run the program, the link appears as a normal text. But if i
click on the textfiled area it appears properly.

Try using an NSTextView instead. Text fields are lighter-weight than text views and sort of 'cheat' in the way they draw the text when not active; I think there might be some glitches in the case of special highlighting like for links.

(Also keep in mind that the shorter the piece of code you post, the more likely that someone will read it. Most people aren't going to volunteer to read through an entire source file looking for bugs.)

—Jens_______________________________________________

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