@ -602,6 +602,9 @@ var IPython = (function (IPython) {
text = '' ;
}
target _cell . set _text ( text ) ;
// make this value the starting point, so that we can only undo
// to this state, instead of a blank cell
target _cell . code _mirror . clearHistory ( ) ;
source _element . remove ( ) ;
this . dirty = true ;
} ;
@ -623,6 +626,9 @@ var IPython = (function (IPython) {
// The edit must come before the set_text.
target _cell . edit ( ) ;
target _cell . set _text ( text ) ;
// make this value the starting point, so that we can only undo
// to this state, instead of a blank cell
target _cell . code _mirror . clearHistory ( ) ;
source _element . remove ( ) ;
this . dirty = true ;
} ;
@ -645,6 +651,9 @@ var IPython = (function (IPython) {
// The edit must come before the set_text.
target _cell . edit ( ) ;
target _cell . set _text ( text ) ;
// make this value the starting point, so that we can only undo
// to this state, instead of a blank cell
target _cell . code _mirror . clearHistory ( ) ;
source _element . remove ( ) ;
this . dirty = true ;
} ;
@ -667,6 +676,9 @@ var IPython = (function (IPython) {
// The edit must come before the set_text.
target _cell . edit ( ) ;
target _cell . set _text ( text ) ;
// make this value the starting point, so that we can only undo
// to this state, instead of a blank cell
target _cell . code _mirror . clearHistory ( ) ;
source _element . remove ( ) ;
this . dirty = true ;
} ;
@ -693,6 +705,9 @@ var IPython = (function (IPython) {
target _cell . set _level ( level ) ;
target _cell . edit ( ) ;
target _cell . set _text ( text ) ;
// make this value the starting point, so that we can only undo
// to this state, instead of a blank cell
target _cell . code _mirror . clearHistory ( ) ;
source _element . remove ( ) ;
this . dirty = true ;
} ;