Show More
@@ -302,7 +302,8 b' var IPython = (function (IPython) {' | |||||
302 | // TODO: Bounds check for i |
|
302 | // TODO: Bounds check for i | |
303 | var i = this.index_or_selected(index); |
|
303 | var i = this.index_or_selected(index); | |
304 | var cell = new IPython.CodeCell(this); |
|
304 | var cell = new IPython.CodeCell(this); | |
305 | cell.set_input_prompt(this.next_prompt_number); |
|
305 | // cell.set_input_prompt(this.next_prompt_number); | |
|
306 | cell.set_input_prompt(); | |||
306 | this.next_prompt_number = this.next_prompt_number + 1; |
|
307 | this.next_prompt_number = this.next_prompt_number + 1; | |
307 | this.insert_cell_before(cell, i); |
|
308 | this.insert_cell_before(cell, i); | |
308 | this.select(this.find_cell_index(cell)); |
|
309 | this.select(this.find_cell_index(cell)); | |
@@ -314,7 +315,8 b' var IPython = (function (IPython) {' | |||||
314 | // TODO: Bounds check for i |
|
315 | // TODO: Bounds check for i | |
315 | var i = this.index_or_selected(index); |
|
316 | var i = this.index_or_selected(index); | |
316 | var cell = new IPython.CodeCell(this); |
|
317 | var cell = new IPython.CodeCell(this); | |
317 | cell.set_input_prompt(this.next_prompt_number); |
|
318 | // cell.set_input_prompt(this.next_prompt_number); | |
|
319 | cell.set_input_prompt(); | |||
318 | this.next_prompt_number = this.next_prompt_number + 1; |
|
320 | this.next_prompt_number = this.next_prompt_number + 1; | |
319 | this.insert_cell_after(cell, i); |
|
321 | this.insert_cell_after(cell, i); | |
320 | this.select(this.find_cell_index(cell)); |
|
322 | this.select(this.find_cell_index(cell)); |
General Comments 0
You need to be logged in to leave comments.
Login now