• 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: Uli Kusterer <email@hidden>
  • Date: Mon, 11 Aug 2008 15:27:37 +0200

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:

Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de





_______________________________________________

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


  • Follow-Ups:
    • Re: URL Text Color in NSTextView
      • From: Simon Wolf <email@hidden>
References: 
 >URL Text Color in NSTextView (From: Simon Wolf <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: URL Text Color in NSTextView
  • Next by thread: Re: URL Text Color in NSTextView
  • Index(es):
    • Date
    • Thread