fix restoring of the scroll position
This commit is contained in:
parent
fab6d40471
commit
00b225f124
1 changed files with 1 additions and 0 deletions
|
|
@ -116,6 +116,7 @@ var Editor = function(renderer, doc) {
|
|||
this.bgTokenizer.start(0);
|
||||
|
||||
var _self = this;
|
||||
_self.renderer.scrollToRow(doc.getScrollTopRow());
|
||||
this.renderer.draw(false, function() {
|
||||
_self.onCursorChange();
|
||||
_self.onSelectionChange();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue