##// END OF EJS Templates
click on close cancell stick
Matthias BUSSONNIER -
Show More
@@ -92,6 +92,9 b' var IPython = (function (IPython) {'
92 } else {
92 } else {
93 return true;
93 return true;
94 };
94 };
95 } else if (event.which === key.ESC) {
96 IPython.tooltip.remove_and_cancel_tooltip(true);
97 return true;
95 } else if (event.which === key.DOWNARROW && event.type === 'keydown') {
98 } else if (event.which === key.DOWNARROW && event.type === 'keydown') {
96 // If we are not at the bottom, let CM handle the down arrow and
99 // If we are not at the bottom, let CM handle the down arrow and
97 // prevent the global keydown handler from handling it.
100 // prevent the global keydown handler from handling it.
@@ -168,6 +168,7 b' var IPython = (function (IPython) {'
168 // as in the completer, because it is not focusable, so won't
168 // as in the completer, because it is not focusable, so won't
169 // get the event.
169 // get the event.
170 if (this._sticky == false || force == true) {
170 if (this._sticky == false || force == true) {
171 this.cancel_stick();
171 this._hide();
172 this._hide();
172 }
173 }
173 this.cancel_pending();
174 this.cancel_pending();
General Comments 0
You need to be logged in to leave comments. Login now