From f351c9de387cd20967d69f80152af42ef9953a2d Mon Sep 17 00:00:00 2001 From: Robert Krahn Date: Sun, 17 Mar 2013 05:32:47 -0700 Subject: [PATCH] [occur] allowing other commands --- lib/ace/commands/occur_commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ace/commands/occur_commands.js b/lib/ace/commands/occur_commands.js index 1d4a97ec..1fbcad77 100644 --- a/lib/ace/commands/occur_commands.js +++ b/lib/ace/commands/occur_commands.js @@ -85,7 +85,7 @@ oop.inherits(OccurKeyboardHandler, HashHandler); var handleKeyboard$super = this.handleKeyboard; this.handleKeyboard = function(data, hashId, key, keyCode) { var cmd = handleKeyboard$super.call(this, data, hashId, key, keyCode); - return (cmd && cmd.command) ? cmd : {command: "null", passEvent: true}; + return (cmd && cmd.command) ? cmd : undefined; } }).call(OccurKeyboardHandler.prototype);