Re: Links in NSTextView
Re: Links in NSTextView
- Subject: Re: Links in NSTextView
- From: Lorenzo <email@hidden>
- Date: Tue, 20 Jul 2004 16:10:26 +0200
Thank you.
Best Regards
--
Lorenzo
email: email@hidden
>
From: Jeremy Dronfield <email@hidden>
>
Date: Tue, 20 Jul 2004 14:30:26 +0100
>
To: Lorenzo <email@hidden>
>
Cc: email@hidden
>
Subject: Re: Links in NSTextView
>
>
You add it as an attribute, with NSLinkAttributeName as the key, and a
>
URL as the value.
>
>
Regards,
>
-Jeremy
>
>
>
On 20 Jul 2004, at 12:01 pm, Lorenzo wrote:
>
>
> Hi,
>
> I have seen that if I copy a text containing web-links from Safari to
>
> TextEdit, the web-link is mantained in the TextEdit text. And it works.
>
>
>
> Now, how can I set a web-link on a string in my NSTextView text
>
> programmatically?
>
>
>
>
>
> Best Regards
>
> --
>
> Lorenzo
>
> email: email@hidden
>
> _______________________________________________
>
> cocoa-dev mailing list | email@hidden
>
> Help/Unsubscribe/Archives:
>
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.