diff --git a/lib/ace/edit_session.js b/lib/ace/edit_session.js index 539ca1f2..f828b0df 100644 --- a/lib/ace/edit_session.js +++ b/lib/ace/edit_session.js @@ -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) { diff --git a/support/pilot b/support/pilot index 6e1fbe1d..cbfac498 160000 --- a/support/pilot +++ b/support/pilot @@ -1 +1 @@ -Subproject commit 6e1fbe1dfdff64020f15cd9e23ea72b7803cf406 +Subproject commit cbfac498d30d43fdb7687d198c5b752736222c2f