diff --git a/lib/ace/editor.js b/lib/ace/editor.js index dd38d67d..4f82595c 100644 --- a/lib/ace/editor.js +++ b/lib/ace/editor.js @@ -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();