Nathan Sobo ca9e26882a Bypass key equivalents on keydown until web view has a chance to process events.
Move refresh handling to keyDown: method on AtomController. Eliminate custom handleInputEvent method.

NSApplication-sendEvent calls performKeyEquivalents on keydown events. Here I override sendEvent for keydown and forward the event to its window. This allows the web view to receive Command-H etc without key equivalents interfering. If the web view short-circuits the event, then the key equivalent will not be invoked. But it can let the event pass through and it ends up invoking the key equivalent anyway via a mechanism I don't fully understand. Apparently Cocoa tries to execute key equivalents after the web view finishes with the event? But it works great.
2011-12-15 19:10:58 -08:00
2011-11-25 22:21:36 -08:00
2011-12-05 14:27:36 -05:00
2011-12-15 15:59:32 -08:00
2011-12-15 15:59:32 -08:00
2011-11-25 23:25:56 -08:00
2011-11-29 13:50:45 -05:00
2011-12-15 14:14:12 -08:00
2011-12-14 11:34:23 -08:00
2011-12-14 18:37:33 -08:00
Description
No description provided
Readme 447 MiB
Languages
JavaScript 88.3%
Less 8.7%
CoffeeScript 2.8%
Shell 0.1%