mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04: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