Re: NSMutableAttributedString & Links color
Re: NSMutableAttributedString & Links color
- Subject: Re: NSMutableAttributedString & Links color
- From: Ross Carter <email@hidden>
- Date: Mon, 14 Dec 2009 13:42:23 -0500
On Dec 13, 2009, at 8:55 PM, PCWiz wrote:
> Hi,
>
> I am, for lack of a better word, "enabling" links in my NSMutableAttributedString by applying the NSLinkAttributeName attribute to them, and I'm changing their color from the default blue to a different color using NSForegroundColorAttributeName. This all works fine. The only issue: When you actually *click* on the link, it goes back to that default blue with underline style.
>
> Is there any way to change this?
NSTextView -setLinkTextAttributes:
_______________________________________________
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