• 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
clicking in text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

clicking in text


  • Subject: clicking in text
  • From: Roland Silver <email@hidden>
  • Date: Mon, 10 Jul 2006 09:00:51 -0600

Can anyone tell me (or give me a reference that will tell me) how to organize the text in an NSTextView into sections so that when the user clicks on text in a section, a method is invoked which can do something about the click, knowing which section it occurred in?

I've done some research, uncovering such glimpses as the NSTextView method clickedOnLink:atIndex: and the "Accessing Attributes" section of the ADC Reference Library Attributed Strings Programming Guide, but I'm lacking an overview that would put all those hints together.

--Roland Silver


_______________________________________________ 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
  • Prev by Date: Re: Objects as keys NSMutableDictionary
  • Next by Date: Re: where have all the IVARS gone? (long time passing...)
  • Previous by thread: Creating PDF file attachments
  • Next by thread: Re: clicking in text
  • Index(es):
    • Date
    • Thread