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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to