##// END OF EJS Templates
Fixing #1337. Tooltip stops TAB from being handled by others....
Brian Granger -
Show More
@@ -123,6 +123,10 b' var IPython = (function (IPython) {'
123 return false;
123 return false;
124 } else if ((pre_cursor.substr(-1) === "("|| pre_cursor.substr(-1) === " ") && tooltip_on_tab ) {
124 } else if ((pre_cursor.substr(-1) === "("|| pre_cursor.substr(-1) === " ") && tooltip_on_tab ) {
125 that.request_tooltip_after_time(pre_cursor,0);
125 that.request_tooltip_after_time(pre_cursor,0);
126 // Prevent the event from bubbling up.
127 event.stop();
128 // Prevent CodeMirror from handling the tab.
129 return true;
126 } else {
130 } else {
127 pre_cursor.trim();
131 pre_cursor.trim();
128 // Autocomplete the current line.
132 // Autocomplete the current line.
General Comments 0
You need to be logged in to leave comments. Login now