::getModel() returns the editor

This commit is contained in:
Ben Ogle
2014-07-30 13:56:26 -07:00
parent b037395551
commit 4cf68ef017

View File

@@ -170,7 +170,7 @@ class ReactEditorView extends View
@editor.pageUp()
getModel: ->
@component?.getModel()
@editor
getFirstVisibleScreenRow: ->
@editor.getVisibleRowRange()[0]