##// END OF EJS Templates
Removing default input prompt number....
Brian E. Granger -
Show More
@@ -302,7 +302,8 b' var IPython = (function (IPython) {'
302 302 // TODO: Bounds check for i
303 303 var i = this.index_or_selected(index);
304 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 307 this.next_prompt_number = this.next_prompt_number + 1;
307 308 this.insert_cell_before(cell, i);
308 309 this.select(this.find_cell_index(cell));
@@ -314,7 +315,8 b' var IPython = (function (IPython) {'
314 315 // TODO: Bounds check for i
315 316 var i = this.index_or_selected(index);
316 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 320 this.next_prompt_number = this.next_prompt_number + 1;
319 321 this.insert_cell_after(cell, i);
320 322 this.select(this.find_cell_index(cell));
General Comments 0
You need to be logged in to leave comments. Login now