fix undo cursor regression
This commit is contained in:
parent
bf33db7e3e
commit
3b0e49539b
2 changed files with 2 additions and 2 deletions
|
|
@ -593,7 +593,7 @@ var EditSession = function(text, mode) {
|
|||
if (action.isInsert)
|
||||
this.selection.setSelectionRange(Range.fromPoints(action.start, action.end));
|
||||
else
|
||||
this.selection.moveCursorToPosition(action.start);
|
||||
this.selection.moveCursorToPosition(action.end);
|
||||
},
|
||||
|
||||
this.replace = function(range, text) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue