Show More
@@ -126,7 +126,7 var IPython = (function (IPython) { | |||
|
126 | 126 | // reexecute last call in pager by appending ? to show back in pager |
|
127 | 127 | var that = this; |
|
128 | 128 | var empty = function () {}; |
|
129 |
|
|
|
129 | cell.kernel.execute( | |
|
130 | 130 | that.name + '?', { |
|
131 | 131 | 'execute_reply': empty, |
|
132 | 132 | 'output': empty, |
@@ -212,7 +212,7 var IPython = (function (IPython) { | |||
|
212 | 212 | var callbacks = { |
|
213 | 213 | 'object_info_reply': $.proxy(this._show, this) |
|
214 | 214 | } |
|
215 |
var msg_id = |
|
|
215 | var msg_id = cell.kernel.object_info_request(re.exec(func), callbacks); | |
|
216 | 216 | } |
|
217 | 217 | |
|
218 | 218 | // make an imediate completion request |
@@ -360,11 +360,12 var IPython = (function (IPython) { | |||
|
360 | 360 | // convenient funciton to have the correct code_mirror back into focus |
|
361 | 361 | Tooltip.prototype._cmfocus = function () { |
|
362 | 362 | var cm = this.code_mirror; |
|
363 |
if ( |
|
|
364 | { | |
|
365 | setTimeout(function () { | |
|
366 | cm.focus(); | |
|
367 | }, 50); | |
|
363 | if (IPython.notebook !== undefined) { | |
|
364 | if (cm == IPython.notebook.get_selected_cell()) { | |
|
365 | setTimeout(function () { | |
|
366 | cm.focus(); | |
|
367 | }, 50); | |
|
368 | } | |
|
368 | 369 | } |
|
369 | 370 | } |
|
370 | 371 |
General Comments 0
You need to be logged in to leave comments.
Login now