mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-11 15:37:29 +02:00
Only bypass interpretKeyEvents: if Ctrl is held on key down (fixes bug where alt-e, e, did not produce e-acute).
git-svn-id: http://macvim.googlecode.com/svn/trunk@112 96c4425d-ca35-0410-94e5-3396d5c13a8f
This commit is contained in:
+3
-3
@@ -394,10 +394,10 @@
|
||||
// interpretKeyEvents: since some keys are bound to multiple commands which
|
||||
// means doCommandBySelector: is called several times.
|
||||
//
|
||||
// TODO: Figure out a way to disable Cocoa key bindings entirely.
|
||||
// TODO: Figure out a way to disable Cocoa key bindings entirely, without
|
||||
// affecting input management.
|
||||
|
||||
if ([event modifierFlags] &
|
||||
(NSControlKeyMask|NSAlternateKeyMask|NSCommandKeyMask))
|
||||
if ([event modifierFlags] & NSControlKeyMask)
|
||||
[self dispatchKeyEvent:event];
|
||||
else
|
||||
[super keyDown:event];
|
||||
|
||||
Reference in New Issue
Block a user