##// END OF EJS Templates
clear In[] prompt numbers on "Clear All Output"
Paul Ivanov -
Show More
@@ -874,6 +874,9 b' var IPython = (function (IPython) {'
874 for (var i=0; i<ncells; i++) {
874 for (var i=0; i<ncells; i++) {
875 if (cells[i] instanceof IPython.CodeCell) {
875 if (cells[i] instanceof IPython.CodeCell) {
876 cells[i].clear_output(true,true,true);
876 cells[i].clear_output(true,true,true);
877 // Make all In[] prompts blank, as well
878 // TODO: make this configurable (via checkbox?)
879 cells[i].set_input_prompt();
877 }
880 }
878 };
881 };
879 this.dirty = true;
882 this.dirty = true;
General Comments 0
You need to be logged in to leave comments. Login now