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