Changeset [67b2671dad5398eda845a9b3d2e9542e3182f07d] by Klaas Pieter Annema
Revision 67b2671dad5398eda845a9b3d2e9542e3182f07d,
committed by Klaas Pieter Annema
· September 15th, 2011 @ 04:39 AM
improve key view loops
- include the window's content view at the start of the key view loop
- set the initial first responder to the window's content view (and keep it that way unless it is explicitly changed)
- CPWindow should return NO from acceptsFirstResponder (Cocoa compliance).
- change the type of setInitialFirstResponder, this is compliant with Cocoa. The new key view loop code will break if initial first responder is anything but a view
- change the implementation of selectNextKeyView:, selectPreviousKeyView:, selectKeyViewFollowingView: and selectKeyViewPrecedingView: to follow to Cocoa's documentation https://github.com/cappuccino/cappuccino/commit/67b2671dad5398eda84...
1 changed file
-
M
AppKit/CPWindow/CPWindow.j