This commit is contained in:
Fabian Jakobs 2011-12-20 14:42:00 +01:00
commit 495c27df57
3 changed files with 1 additions and 11 deletions

View file

@ -2447,9 +2447,6 @@ var Editor = function(renderer, session) {
this.container = container;
this.renderer = renderer;
renderer.on("scrollX", this._emit.bind(this, "scrollX"));
renderer.on("scrollY", this._emit.bind(this, "scrollY"));
this.textInput = new TextInput(renderer.getTextAreaContainer(), this);
this.keyBinding = new KeyBinding(this);
@ -12266,7 +12263,6 @@ var VirtualRenderer = function(container, theme) {
if (this.scrollTop !== scrollTop) {
this.$loop.schedule(this.CHANGE_SCROLL);
this.scrollTop = scrollTop;
this._emit("scrollY", scrollTop);
}
};
@ -12276,7 +12272,6 @@ var VirtualRenderer = function(container, theme) {
this.scroller.scrollLeft = scrollLeft;
scrollLeft = this.scroller.scrollLeft;
this._emit("scrollX", scrollLeft);
};
this.scrollBy = function(deltaX, deltaY) {

View file

@ -2447,9 +2447,6 @@ var Editor = function(renderer, session) {
this.container = container;
this.renderer = renderer;
renderer.on("scrollX", this._emit.bind(this, "scrollX"));
renderer.on("scrollY", this._emit.bind(this, "scrollY"));
this.textInput = new TextInput(renderer.getTextAreaContainer(), this);
this.keyBinding = new KeyBinding(this);
@ -12266,7 +12263,6 @@ var VirtualRenderer = function(container, theme) {
if (this.scrollTop !== scrollTop) {
this.$loop.schedule(this.CHANGE_SCROLL);
this.scrollTop = scrollTop;
this._emit("scrollY", scrollTop);
}
};
@ -12276,7 +12272,6 @@ var VirtualRenderer = function(container, theme) {
this.scroller.scrollLeft = scrollLeft;
scrollLeft = this.scroller.scrollLeft;
this._emit("scrollX", scrollLeft);
};
this.scrollBy = function(deltaX, deltaY) {

File diff suppressed because one or more lines are too long