Show More
@@ -307,14 +307,6 b' var IPython = (function (IPython) {' | |||
|
307 | 307 | Completer.prototype.keydown = function (event) { |
|
308 | 308 | var code = event.keyCode; |
|
309 | 309 | var that = this; |
|
310 | var special_key = false; | |
|
311 | ||
|
312 | // detect special keys like SHIFT,PGUP,... | |
|
313 | for( var _key in key ) { | |
|
314 | if (code == key[_key] ) { | |
|
315 | special_key = true; | |
|
316 | } | |
|
317 | } | |
|
318 | 310 | |
|
319 | 311 | // Enter |
|
320 | 312 | if (code == keycodes.enter) { |
@@ -366,8 +358,8 b' var IPython = (function (IPython) {' | |||
|
366 | 358 | // don't handle keypress if it's not a character (arrows on FF) |
|
367 | 359 | // or ENTER/TAB |
|
368 | 360 | if (event.charCode === 0 || |
|
369 |
code == key. |
|
|
370 |
code == key. |
|
|
361 | code == keycodes.enter || | |
|
362 | code == keycodes.tab | |
|
371 | 363 | ) return; |
|
372 | 364 | |
|
373 | 365 | var cur = this.editor.getCursor(); |
General Comments 0
You need to be logged in to leave comments.
Login now