diff --git a/lib/ace/editor.js b/lib/ace/editor.js index 53295878..851c314a 100644 --- a/lib/ace/editor.js +++ b/lib/ace/editor.js @@ -930,6 +930,14 @@ var Editor = function(renderer, session) { return this.$highlightSelectedWord; }; + this.setAnimatedScroll = function(shouldAnimate){ + this.renderer.setAnimatedScroll(shouldAnimate); + }; + + this.getAnimatedScroll = function(){ + return this.renderer.getAnimatedScroll(); + }; + /** * Editor.setShowInvisibles(showInvisibles) * - showInvisibles (Boolean): Specifies whether or not to show invisible characters