From e5a5ea97a1a7ad2e5fa44f28374d5a6c6e3d6cc9 Mon Sep 17 00:00:00 2001 From: Trent Ogren Date: Sun, 10 Jul 2011 12:07:26 -0700 Subject: [PATCH] changed misleading argument name: row -> column --- lib/ace/editor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ace/editor.js b/lib/ace/editor.js index c1a190c5..57c34dd9 100644 --- a/lib/ace/editor.js +++ b/lib/ace/editor.js @@ -1001,11 +1001,11 @@ var Editor =function(renderer, session) { }; - this.gotoLine = function(lineNumber, row) { + this.gotoLine = function(lineNumber, column) { this.selection.clearSelection(); this.$blockScrolling += 1; - this.moveCursorTo(lineNumber-1, row || 0); + this.moveCursorTo(lineNumber-1, column || 0); this.$blockScrolling -= 1; if (!this.isRowVisible(this.getCursorPosition().row)) {