From b51d0e763cf8d0a160ed7bd6c13df59f8f87954a Mon Sep 17 00:00:00 2001 From: nightwing Date: Thu, 26 Apr 2012 19:47:38 +0400 Subject: [PATCH] fix typo --- lib/ace/editor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ace/editor.js b/lib/ace/editor.js index b4681bcc..02f87fcd 100644 --- a/lib/ace/editor.js +++ b/lib/ace/editor.js @@ -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() {