fix undo cursor regression

This commit is contained in:
Fabian Jakobs 2011-02-17 15:38:40 +01:00
commit 3b0e49539b
2 changed files with 2 additions and 2 deletions

View file

@ -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) {

@ -1 +1 @@
Subproject commit 6e1fbe1dfdff64020f15cd9e23ea72b7803cf406
Subproject commit cbfac498d30d43fdb7687d198c5b752736222c2f