• 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: URL Text Color in NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: URL Text Color in NSTextView


  • Subject: Re: URL Text Color in NSTextView
  • From: Simon Wolf <email@hidden>
  • Date: Mon, 11 Aug 2008 14:37:10 +0100

On 11 Aug 2008, at 14:27, Uli Kusterer wrote:

On 11.08.2008, at 14:45, Simon Wolf wrote:
All of my attempts to change the foreground color via NSForegroundColorAttributeName have failed so far as have attempts to set the color in the Credits.html file (CSS works for standard text, not links however).


IIRC NSTextView has a method to specify the attributes used for links. Those override whatever you specify in the attributed string, AFAIK.

Ah, here it is : -setLinkTextAttributes:

Thanks Uli. I think I was concentrating on doing it via the NSAttributedString too much.


Simon
_______________________________________________

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: 
 >URL Text Color in NSTextView (From: Simon Wolf <email@hidden>)
 >Re: URL Text Color in NSTextView (From: Uli Kusterer <email@hidden>)

  • Prev by Date: Re: How to check the capital letter?
  • Next by Date: Re: How to check the capital letter?
  • Previous by thread: Re: URL Text Color in NSTextView
  • Next by thread: How to check the capital letter?
  • Index(es):
    • Date
    • Thread