Re: Single-click words in NSTableView / NSTextFieldCell

2010-04-09 Thread Tony P
Thanks for that Corbin. That's fine and dandy, except I'm still stuck in identifying the "link" word. There are multiple "link" words or phrases in each cell, so I don't know which one has been hit without some kind of characterIndexForPoint functionality. Or perhaps I can't see the wood fo

Re: Single-click words in NSTableView / NSTextFieldCell

2010-04-08 Thread Corbin Dunn
On Apr 8, 2010, at 8:17 AM, Tony P wrote: > Hi Folks, > > I'm trying to implement single-clicking for multiple words/phrases within an > NSTableView / NSTextFieldCell, which seems surprisingly tricky. I've tried > using NSAttributedString (in the hope I can use a special NSURLProtocol to > in

Single-click words in NSTableView / NSTextFieldCell

2010-04-08 Thread Tony P
Hi Folks, I'm trying to implement single-clicking for multiple words/phrases within an NSTableView / NSTextFieldCell, which seems surprisingly tricky. I've tried using NSAttributedString (in the hope I can use a special NSURLProtocol to intercept the hyperlink), but it takes four clicks t