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: Sat, 15 Nov 2008 12:23:47 -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. :-)
On Nov 15, 2008, at 01:05 AM, Joel Norvell wrote:
> John,
>
> I'd wrongly convinced myself that your approach was problematic;
> but it is exactly the right one!
I've posted the code for this recipé in a blog entry: "Tabbing In PDF Annotation Editor."
http://tinyurl.com/6rbpy5
Yours in Cocoa,
Joel
http://frameworker.wordpress.com
_______________________________________________
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