• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: unichar for hyperlink?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: unichar for hyperlink?


  • Subject: Re: unichar for hyperlink?
  • From: Jeremy Dronfield <email@hidden>
  • Date: Wed, 25 Feb 2004 19:33:02 +0000

On 25 Feb 2004, at 7:34 pm, Douglas Davidson wrote:


On Feb 25, 2004, at 11:04 AM, Jeremy Dronfield wrote:

What, if any, is the unichar value for a hyperlink in rtf? There doesn't appear to be an equivalent to NSAttachmentCharacter (used to identify NSTextAttachments) in the API.

Hyperlinks are attached to ordinary text, using the NSLinkAttributeName attribute.

Douglas Davidson

That's what I was afraid of. What I'm doing is cycling through the characters in a text storage object looking for attachments and hyperlinks. For attachments I can simply check for the character, but looking for NSLinkAttributeName I'm going to have to hunt through the attributes of every character. Damn.

Thanks for the info.

-Jeremy

========================================
email@hidden

theLocustFarm.net:
- fractious fiction at http://freespace.virgin.net/jeremy.dronfield
========================================
_______________________________________________
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.


  • Follow-Ups:
    • Re: unichar for hyperlink?
      • From: Douglas Davidson <email@hidden>
References: 
 >unichar for hyperlink? (From: Jeremy Dronfield <email@hidden>)
 >Re: unichar for hyperlink? (From: Douglas Davidson <email@hidden>)

  • Prev by Date: Re: Line numbers in IDE
  • Next by Date: Re: unichar for hyperlink?
  • Previous by thread: Re: unichar for hyperlink?
  • Next by thread: Re: unichar for hyperlink?
  • Index(es):
    • Date
    • Thread