• 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: RTF in MultilineTextField
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >RTF in MultilineTextField (From: Arun <email@hidden>)

  • Prev by Date: Suppressing Crash Reporter dialogs for a task
  • Next by Date: Re: Suppressing Crash Reporter dialogs for a task
  • Previous by thread: RTF in MultilineTextField
  • Next by thread: Suppressing Crash Reporter dialogs for a task
  • Index(es):
    • Date
    • Thread