Skip to content
Browse files

[util/simple-hint] Capture pageup/pagedown keys

  • Loading branch information...
1 parent 275d6ed commit 52cfc2e79b6a7530f6297ea3510100d03a5b2ed9 @marijnh marijnh committed Sep 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/util/simple-hint.js
View
2 lib/util/simple-hint.js
@@ -71,7 +71,7 @@
if (code == 13) {CodeMirror.e_stop(event); pick();}
// Escape
else if (code == 27) {CodeMirror.e_stop(event); close(); editor.focus();}
- else if (code != 38 && code != 40) {
+ else if (code != 38 && code != 40 && code != 33 && code != 34) {
close(); editor.focus();
// Pass the event to the CodeMirror instance so that it can handle things like backspace properly.
editor.triggerOnKeyDown(event);

0 comments on commit 52cfc2e

Please sign in to comment.
Something went wrong with that request. Please try again.