After undoing an insert (which amounts to a remove)
there should not be a selection (fixed)
This commit is contained in:
parent
5d9f8cf0e9
commit
86478b9353
1 changed files with 1 additions and 1 deletions
|
|
@ -557,7 +557,7 @@ var Document = function(text, mode) {
|
|||
this.selection.moveCursorToPosition(delta.range.start);
|
||||
} else {
|
||||
this.insert(delta.range.start, delta.text, true);
|
||||
this.selection.setSelectionRange(delta.range);
|
||||
this.selection.clearSelection();
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue