From 076706d6f8157d53465f87c1a304fa24fa33b661 Mon Sep 17 00:00:00 2001 From: Fabian Jakobs Date: Fri, 11 Feb 2011 17:49:04 +0100 Subject: [PATCH] add scrollToLine to the mockrenderer - need implementation --- lib/ace/test/mockrenderer.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/ace/test/mockrenderer.js b/lib/ace/test/mockrenderer.js index 799772f8..869b7584 100644 --- a/lib/ace/test/mockrenderer.js +++ b/lib/ace/test/mockrenderer.js @@ -94,6 +94,9 @@ MockRenderer.prototype.updateCursor = function(position) { this.cursor.column = position.column; }; +MockRenderer.prototype.scrollToLine = function(row) { +}; + MockRenderer.prototype.scrollCursorIntoView = function() { if (this.cursor.row < this.layerConfig.firstVisibleRow) { this.scrollToRow(this.cursor.row);