goto line should clear selection
This commit is contained in:
parent
ae3f9e28c3
commit
f75a1cc786
1 changed files with 2 additions and 0 deletions
|
|
@ -774,6 +774,8 @@ var Editor = function(renderer, doc) {
|
|||
|
||||
|
||||
this.gotoLine = function(lineNumber, row) {
|
||||
this.selection.clearSelection();
|
||||
|
||||
this.$blockScrolling = true;
|
||||
this.moveCursorTo(lineNumber-1, row || 0);
|
||||
this.$blockScrolling = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue