Re: Tabbing PDF Annotation Editor between annotations in "edit mode"?
Re: Tabbing PDF Annotation Editor between annotations in "edit mode"?
- Subject: Re: Tabbing PDF Annotation Editor between annotations in "edit mode"?
- From: Joel Norvell <email@hidden>
- Date: Fri, 14 Nov 2008 16:05:59 -0800 (PST)
On Nov 14, 2008, at 12:18 PM, Joel Norvell wrote:
> > I want to modify the PDF Annotation Editor so that it will tab from
> > annotation-to-annotation in "edit mode," just like it does in "test
> > mode."
> >
> > And since PDFAnnotation isn't an NSView subclass, I'll have to
> > create a mechanism that "hears" tab events and then updates the
> > current annotation "by hand."
On Nov 14, 2008, at 12:28 PM, John Calhoun wrote:
> My first thought would be to go a different route ... grab keyDown's
> in your PDFView subclass and keep track of the current annotation with
> "focus". Manually advance the focus by going round-robin threough the
> annotaions on the page. If you can do something more sophisticated
> though, go for it. :-)
John,
I'd wrongly convinced myself that your approach was problematic;
but it is exactly the right one!
Thank you very much!
Joel
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden