fix typo
This commit is contained in:
parent
fcb172f665
commit
b51d0e763c
1 changed files with 2 additions and 2 deletions
|
|
@ -1273,14 +1273,14 @@ var Editor = function(renderer, session) {
|
||||||
this.$blockScrolling++;
|
this.$blockScrolling++;
|
||||||
this.session.getUndoManager().undo();
|
this.session.getUndoManager().undo();
|
||||||
this.$blockScrolling--;
|
this.$blockScrolling--;
|
||||||
renderer.scrollCursorIntoView(null, 0.5);
|
this.renderer.scrollCursorIntoView(null, 0.5);
|
||||||
};
|
};
|
||||||
|
|
||||||
this.redo = function() {
|
this.redo = function() {
|
||||||
this.$blockScrolling++;
|
this.$blockScrolling++;
|
||||||
this.session.getUndoManager().redo();
|
this.session.getUndoManager().redo();
|
||||||
this.$blockScrolling--;
|
this.$blockScrolling--;
|
||||||
renderer.scrollCursorIntoView(null, 0.5);
|
this.renderer.scrollCursorIntoView(null, 0.5);
|
||||||
};
|
};
|
||||||
|
|
||||||
this.destroy = function() {
|
this.destroy = function() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue