Show More
@@ -217,6 +217,8 var IPython = (function (IPython) { | |||||
217 | } |
|
217 | } | |
218 | // remove everything after last open bracket |
|
218 | // remove everything after last open bracket | |
219 | line = line.replace(endBracket, ""); |
|
219 | line = line.replace(endBracket, ""); | |
|
220 | // reset the regex object | |||
|
221 | Tooltip.last_token_re.lastIndex = 0; | |||
220 | return Tooltip.last_token_re.exec(line) |
|
222 | return Tooltip.last_token_re.exec(line) | |
221 | }; |
|
223 | }; | |
222 |
|
224 | |||
@@ -266,7 +268,9 var IPython = (function (IPython) { | |||||
266 | this.tabs_functions[this._consecutive_counter](cell, text); |
|
268 | this.tabs_functions[this._consecutive_counter](cell, text); | |
267 |
|
269 | |||
268 | // then if we are at the end of list function, reset |
|
270 | // then if we are at the end of list function, reset | |
269 |
if (this._consecutive_counter == this.tabs_functions.length) |
|
271 | if (this._consecutive_counter == this.tabs_functions.length) { | |
|
272 | this.reset_tabs_function (cell, text); | |||
|
273 | } | |||
270 |
|
274 | |||
271 | return; |
|
275 | return; | |
272 | } |
|
276 | } |
General Comments 0
You need to be logged in to leave comments.
Login now