don't scroll cursor into view on change session
This commit is contained in:
parent
0fc5392cbe
commit
fe8a9d0681
1 changed files with 3 additions and 0 deletions
|
|
@ -174,7 +174,10 @@ var Editor = function(renderer, session) {
|
|||
|
||||
this.onChangeMode();
|
||||
|
||||
this.$blockScrolling += 1;
|
||||
this.onCursorChange();
|
||||
this.$blockScrolling -= 1;
|
||||
|
||||
this.onScrollTopChange();
|
||||
this.onScrollLeftChange();
|
||||
this.onSelectionChange();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue