From 3b0e49539b07d9dd7ec3be6714988e457c4de51e Mon Sep 17 00:00:00 2001 From: Fabian Jakobs Date: Thu, 17 Feb 2011 15:38:40 +0100 Subject: [PATCH] fix undo cursor regression --- lib/ace/edit_session.js | 2 +- support/pilot | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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