mirror of
https://github.com/atom/atom.git
synced 2026-01-22 13:28:01 -05:00
📝 coc EditorView::getEditor
This commit is contained in:
@@ -223,6 +223,9 @@ class EditorView extends View
|
||||
do (name, method) =>
|
||||
@command name, (e) -> method(e); false
|
||||
|
||||
# Public: Get the underlying editor model for this view.
|
||||
#
|
||||
# Returns an {Editor}.
|
||||
getEditor: ->
|
||||
@editor
|
||||
|
||||
|
||||
Reference in New Issue
Block a user