Re: NSTableView selecting text within a cell [SOLUTION]

2011-01-31 Thread Ben Golding
On 31/01/2011, at 16:30, Ben Golding wrote: > I have an app with a NSTableView where the data is presented to the user. > When the user hits "Find", I'd like to be able to scroll the table view to > the visible cell (easy enough) and then select the range that matched within > that field (not

Re: NSTableView selecting text within a cell

2011-01-31 Thread Corbin Dunn
On Jan 30, 2011, at 9:30 PM, Ben Golding wrote: > > I have an app with a NSTableView where the data is presented to the user. > When the user hits "Find", I'd like to be able to scroll the table view to > the visible cell (easy enough) and then select the range that matched within > that fie

Re: NSTableView selecting text within a cell

2011-01-31 Thread Ross Carter
On Jan 31, 2011, at 12:30 AM, Ben Golding wrote: > I have an app with a NSTableView where the data is presented to the user. > When the user hits "Find", I'd like to be able to scroll the table view to > the visible cell (easy enough) and then select the range that matched within > that field

NSTableView selecting text within a cell

2011-01-30 Thread Ben Golding
I have an app with a NSTableView where the data is presented to the user. When the user hits "Find", I'd like to be able to scroll the table view to the visible cell (easy enough) and then select the range that matched within that field (not so easy). At present, my code looks like: NSCell *