From 184ed6cee6e0268dc44bf77d68e0d0ca8974854f Mon Sep 17 00:00:00 2001 From: Adam Jimenez Date: Thu, 24 Nov 2011 11:18:31 +0000 Subject: [PATCH] fix for binding ctrl-; --- lib/ace/lib/event.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ace/lib/event.js b/lib/ace/lib/event.js index 66e19d0f..9ac37b79 100644 --- a/lib/ace/lib/event.js +++ b/lib/ace/lib/event.js @@ -277,7 +277,7 @@ function normalizeCommandKeys(callback, e, keyCode) { // If there is no hashID and the keyCode is not a function key, then // we don't call the callback as we don't handle a command key here // (it's a normal key/character input). - if (!(keyCode in keys.FUNCTION_KEYS) && !(keyCode in keys.PRINTABLE_KEYS)) { + if (!hashId && !(keyCode in keys.FUNCTION_KEYS) && !(keyCode in keys.PRINTABLE_KEYS)) { return false; } return callback(e, hashId, keyCode);