On Jan 7, 2013, at 09:16 PM, Andy Lee <ag...@mac.com> wrote: > On Jan 7, 2013, at 12:07 PM, Andy Lee <ag...@mac.com> wrote: >> It does seem weird that drawPage: is getting called when you aren't even >> interacting with the PDFView. > > Come to think of it, this is *really* weird since your drawPage: checks > whether the PDFView is first responder -- which it can't be if you're in the > middle of typing in the text view. Could it be that something is causing the > PDFView to become first responder for an instant?
Seems not. I have an NSLog in the if clause where the NSSetFocusRingStyle is called, and this is not called during the 'fault' state. > I'm extra curious now to know what happens if you put NSLogs in > becomeFirstResponder and resignFirstResponder. See previous reply. > > --Andy (also at risk of having a conversation with myself -- wouldn't be the > first time :)) > It's sometimes very useful :) Martin _______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com