Re: RTF in MultilineTextField
Re: RTF in MultilineTextField
- Subject: Re: RTF in MultilineTextField
- From: Jens Alfke <email@hidden>
- Date: Tue, 22 Sep 2009 09:51:43 -0700
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 (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