This commit is contained in:
nightwing 2012-04-26 19:47:38 +04:00
commit b51d0e763c

View file

@ -1273,14 +1273,14 @@ var Editor = function(renderer, session) {
this.$blockScrolling++;
this.session.getUndoManager().undo();
this.$blockScrolling--;
renderer.scrollCursorIntoView(null, 0.5);
this.renderer.scrollCursorIntoView(null, 0.5);
};
this.redo = function() {
this.$blockScrolling++;
this.session.getUndoManager().redo();
this.$blockScrolling--;
renderer.scrollCursorIntoView(null, 0.5);
this.renderer.scrollCursorIntoView(null, 0.5);
};
this.destroy = function() {