minor change
This commit is contained in:
parent
b38222c995
commit
abcabf0dcf
1 changed files with 2 additions and 2 deletions
|
|
@ -88,8 +88,8 @@ var Editor = function(renderer, doc) {
|
||||||
this.doc.removeEventListener("changeBreakpoint", this.$onDocumentChangeBreakpoint);
|
this.doc.removeEventListener("changeBreakpoint", this.$onDocumentChangeBreakpoint);
|
||||||
|
|
||||||
var selection = this.doc.getSelection();
|
var selection = this.doc.getSelection();
|
||||||
this.selection.removeEventListener("changeCursor", this.$onCursorChange);
|
selection.removeEventListener("changeCursor", this.$onCursorChange);
|
||||||
this.selection.removeEventListener("changeSelection", this.$onSelectionChange);
|
selection.removeEventListener("changeSelection", this.$onSelectionChange);
|
||||||
|
|
||||||
this.doc.setScrollTopRow(this.renderer.getScrollTopRow());
|
this.doc.setScrollTopRow(this.renderer.getScrollTopRow());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue