Permalink
Browse files

ignore shift keydown

prevented case-sensitive shortcuts if shift was pressed after control key
  • Loading branch information...
1 parent 94a96b8 commit 8dc3ac7c3961a5486aeb8552d772e7be45c6128f @minrk minrk committed Jun 26, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 IPython/frontend/html/notebook/static/js/notebook.js
@@ -95,6 +95,9 @@ var IPython = (function (IPython) {
// Intercept escape at highest level to avoid closing
// websocket connection with firefox
event.preventDefault();
+ } else if (event.which === key.SHIFT) {
+ // ignore shift keydown
+ return true;
}
if (event.which === key.UPARROW && !event.shiftKey) {
var cell = that.get_selected_cell();

1 comment on commit 8dc3ac7

This commit breaks "Shift-Ins" paste in the CodeMirror.

Please sign in to comment.