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();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit cbfac498d30d43fdb7687d198c5b752736222c2f
|
||||
Subproject commit 6e1fbe1dfdff64020f15cd9e23ea72b7803cf406
|
||||
Loading…
Add table
Add a link
Reference in a new issue