• 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: Formatters and TextViews
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Formatters and TextViews


  • Subject: Re: Formatters and TextViews
  • From: Ondra Cada <email@hidden>
  • Date: Mon, 10 Sep 2001 20:12:55 +0200

Rob,

>>>>>> Rob Rix (RR) wrote at Sun, 9 Sep 2001 15:46:54 -0400:
RR> This still leaves me with the difficulty of setting up the actual links.
RR> Maybe I should subclass NSTextView and have my subclass respond to
RR> click-events on links?

I guess so. I would do that, probably, if I have to solve the problem. Well,
I've done in my time some tricks like a special text style for links, plus a
NSTextView delegate with textViewDidChangeSelection: which checked the style
under cursor and behaved appropriately... well, it is another possible way,
but a quite lame one.

There also used to be an API for links (search NSTextView.h for "link") and
cells embedded in text ("cell"); I must admit I don't know whether those APIs
made it to OSX, and even if so, whether not deprecated...
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc


  • Prev by Date: Re: Would Any Developers Use This?
  • Next by Date: Re: Using internal modem?
  • Previous by thread: Re: Formatters and TextViews
  • Next by thread: Re: Formatters and TextViews
  • Index(es):
    • Date
    • Thread