From 2fa9b5aa12d8ccba0268afaff9cf5565a3ba9925 Mon Sep 17 00:00:00 2001 From: Fabian Jakobs Date: Mon, 21 Feb 2011 08:27:35 +0100 Subject: [PATCH] don't clip on setting the position --- lib/ace/anchor.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/ace/anchor.js b/lib/ace/anchor.js index f0a02183..0f37af4a 100644 --- a/lib/ace/anchor.js +++ b/lib/ace/anchor.js @@ -134,7 +134,11 @@ var Anchor = exports.Anchor = function(doc, row, column) { }; this.setPosition = function(row, column) { - pos = this.$clipPositionToDocument(row, column); + //pos = this.$clipPositionToDocument(row, column); + pos = { + row: row, + column: column + }; if (this.row == pos.row && this.column == pos.column) return;