• 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: sub-ranges for NSLink attribute
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sub-ranges for NSLink attribute


  • Subject: Re: sub-ranges for NSLink attribute
  • From: Douglas Davidson <email@hidden>
  • Date: Mon, 15 Aug 2005 13:20:01 -0700


On Aug 2, 2005, at 10:39 AM, Robert Miller wrote:

Does anyone now if subranges are supported by the NSAttributedString class when using NSLinkAttributeName ? In other words, suppose there is an attributed string with something like "ABC DEF GHI" and I want DEF to be one link 'X' while ABC DEF GHI is another link 'Y'. When setting the range for each link it seems at least from the inside out standpoint that if the link 'X' attribute is added first followed by the link 'Y' attribute, the link 'X' attribute is lost. Or am I doing something wrong. ?


Links may not be nested. It is not even clear to me what one might expect a nested link to signify, or how it would behave when clicked.


Douglas Davidson

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >sub-ranges for NSLink attribute (From: Robert Miller <email@hidden>)

  • Prev by Date: how can one programmatically check if text fits in cells and text-views?
  • Next by Date: Re: NEWBIE: Connecting up all those Ms, Vs and Cs
  • Previous by thread: sub-ranges for NSLink attribute
  • Next by thread: Displaying a Raw Mono Image with Cocoa
  • Index(es):
    • Date
    • Thread