mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
::getModel() returns the editor
This commit is contained in:
@@ -170,7 +170,7 @@ class ReactEditorView extends View
|
||||
@editor.pageUp()
|
||||
|
||||
getModel: ->
|
||||
@component?.getModel()
|
||||
@editor
|
||||
|
||||
getFirstVisibleScreenRow: ->
|
||||
@editor.getVisibleRowRange()[0]
|
||||
|
||||
Reference in New Issue
Block a user