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