Show More
@@ -0,0 +1,3 | |||
|
1 | * In notebook, Showing tooltip on tab has been disables to avoid conflict with | |
|
2 | completion, Shift-Tab could still be used to invoke tooltip when inside | |
|
3 | function signature and/or on selection. |
@@ -209,12 +209,6 var IPython = (function (IPython) { | |||
|
209 | 209 | // Don't autocomplete if the part of the line before the cursor |
|
210 | 210 | // is empty. In this case, let CodeMirror handle indentation. |
|
211 | 211 | return false; |
|
212 | } else if ((pre_cursor.substr(-1) === "("|| pre_cursor.substr(-1) === " ") && IPython.config.tooltip_on_tab ) { | |
|
213 | IPython.tooltip.request(that); | |
|
214 | // Prevent the event from bubbling up. | |
|
215 | event.stop(); | |
|
216 | // Prevent CodeMirror from handling the tab. | |
|
217 | return true; | |
|
218 | 212 | } else { |
|
219 | 213 | event.stop(); |
|
220 | 214 | this.completer.startCompletion(); |
General Comments 0
You need to be logged in to leave comments.
Login now