Re: NSMutableAttributedString & Links color
Re: NSMutableAttributedString & Links color
- Subject: Re: NSMutableAttributedString & Links color
- From: PCWiz <email@hidden>
- Date: Mon, 14 Dec 2009 12:13:44 -0700
Thanks, looks like what I need :-)
On 2009-12-14, at 11:42 AM, Ross Carter wrote:
> 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
_______________________________________________
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