mirror of
https://github.com/atom/atom.git
synced 2026-02-09 06:05:11 -05:00
Editor emits an editor-open event when attached
This commit is contained in:
committed by
Corey Johnson
parent
b1ab0735c7
commit
800f16bb29
@@ -206,6 +206,7 @@ class Editor extends View
|
||||
@hiddenInput.width(@charWidth)
|
||||
@setMaxLineLength() if @softWrap
|
||||
@focus() if @isFocused
|
||||
@trigger 'editor-open', [this]
|
||||
|
||||
rootView: ->
|
||||
@parents('#root-view').view()
|
||||
|
||||
Reference in New Issue
Block a user