Re: setting selection in PDFView

2012-07-20 Thread Antonio Nunes
On 20 Jul 2012, at 18:26, Martin Hewitson wrote: >>> In my app I have a user action which allows them to select a particular >>> line in a PDFView. The relevant method (on my PDFView subclass) looks like >>> this. >>> >>> - (void)displayLineAtPoint:(NSPoint)point >>> inPageAtIndex:(NSUInteger)

Re: setting selection in PDFView

2012-07-20 Thread Martin Hewitson
On Jul 20, 2012, at 07:13 PM, Markus Spoettl wrote: > On 7/20/12 6:28 PM, Martin Hewitson wrote: >> Dear list, >> >> In my app I have a user action which allows them to select a particular line >> in a PDFView. The relevant method (on my PDFView subclass) looks like this. >> >> - (void)displa

Re: setting selection in PDFView

2012-07-20 Thread Markus Spoettl
On 7/20/12 6:28 PM, Martin Hewitson wrote: Dear list, In my app I have a user action which allows them to select a particular line in a PDFView. The relevant method (on my PDFView subclass) looks like this. - (void)displayLineAtPoint:(NSPoint)point inPageAtIndex:(NSUInteger)pageIndex { if (

setting selection in PDFView

2012-07-20 Thread Martin Hewitson
Dear list, In my app I have a user action which allows them to select a particular line in a PDFView. The relevant method (on my PDFView subclass) looks like this. - (void)displayLineAtPoint:(NSPoint)point inPageAtIndex:(NSUInteger)pageIndex { if (pageIndex < [[self document] pageCount]) {