don't scroll cursor into view on change session

This commit is contained in:
Fabian Jakobs 2012-01-23 14:48:43 +01:00
commit fe8a9d0681

View file

@ -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();