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)
|
if (action.isInsert)
|
||||||
this.selection.setSelectionRange(Range.fromPoints(action.start, action.end));
|
this.selection.setSelectionRange(Range.fromPoints(action.start, action.end));
|
||||||
else
|
else
|
||||||
this.selection.moveCursorToPosition(action.start);
|
this.selection.moveCursorToPosition(action.end);
|
||||||
},
|
},
|
||||||
|
|
||||||
this.replace = function(range, text) {
|
this.replace = function(range, text) {
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit 6e1fbe1dfdff64020f15cd9e23ea72b7803cf406
|
Subproject commit cbfac498d30d43fdb7687d198c5b752736222c2f
|
||||||
Loading…
Add table
Add a link
Reference in a new issue