add scrollToLine to the mockrenderer

- need implementation
This commit is contained in:
Fabian Jakobs 2011-02-11 17:49:04 +01:00
commit 076706d6f8

View file

@ -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);