changed misleading argument name: row -> column
This commit is contained in:
parent
dfd6cbc2ea
commit
e5a5ea97a1
1 changed files with 2 additions and 2 deletions
|
|
@ -1001,11 +1001,11 @@ var Editor =function(renderer, session) {
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
this.gotoLine = function(lineNumber, row) {
|
this.gotoLine = function(lineNumber, column) {
|
||||||
this.selection.clearSelection();
|
this.selection.clearSelection();
|
||||||
|
|
||||||
this.$blockScrolling += 1;
|
this.$blockScrolling += 1;
|
||||||
this.moveCursorTo(lineNumber-1, row || 0);
|
this.moveCursorTo(lineNumber-1, column || 0);
|
||||||
this.$blockScrolling -= 1;
|
this.$blockScrolling -= 1;
|
||||||
|
|
||||||
if (!this.isRowVisible(this.getCursorPosition().row)) {
|
if (!this.isRowVisible(this.getCursorPosition().row)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue