##// END OF EJS Templates
Adding missig altKey test to CodeCell.
Brian E. Granger -
Show More
@@ -182,7 +182,7 b' var IPython = (function (IPython) {'
182 this.auto_highlight();
182 this.auto_highlight();
183 }
183 }
184
184
185 if (event.keyCode === key.ENTER && (event.shiftKey || event.ctrlKey)) {
185 if (event.keyCode === key.ENTER && (event.shiftKey || event.ctrlKey || event.altKey)) {
186 // Always ignore shift-enter in CodeMirror as we handle it.
186 // Always ignore shift-enter in CodeMirror as we handle it.
187 return true;
187 return true;
188 } else if (event.which === 40 && event.type === 'keypress' && IPython.tooltip.time_before_tooltip >= 0) {
188 } else if (event.which === 40 && event.type === 'keypress' && IPython.tooltip.time_before_tooltip >= 0) {
General Comments 0
You need to be logged in to leave comments. Login now