Re: URL Text Color in NSTextView
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