Added ignore property to deltas for local undo
This commit is contained in:
parent
707f38ff9d
commit
40b2c0cced
2 changed files with 2 additions and 2 deletions
|
|
@ -86,7 +86,7 @@ var EditSession = function(text, mode) {
|
|||
this.onChange = function(e) {
|
||||
var delta = e.data;
|
||||
this.$modified = true;
|
||||
if (!this.$fromUndo && this.$undoManager) {
|
||||
if (!this.$fromUndo && this.$undoManager && !delta.ignore) {
|
||||
this.$deltas.push(delta);
|
||||
this.$informUndoManager.schedule();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue