From c34324fe70862638abd52dcd8b7fc4f0e34fe6fb Mon Sep 17 00:00:00 2001 From: Fabian Jakobs Date: Mon, 26 Apr 2010 15:17:11 +0200 Subject: [PATCH] fix "copy lines up/down" --- src/ace/Document.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ace/Document.js b/src/ace/Document.js index 6192799f..231b8de8 100644 --- a/src/ace/Document.js +++ b/src/ace/Document.js @@ -381,7 +381,7 @@ ace.Document = function(text, mode) { this.$insertLines(firstRow, lines); var addedRows = lastRow - firstRow + 1; - this.fireChangeEvent(firstRow, lastRow+addedRows); + this.fireChangeEvent(firstRow); return addedRows; };