Merge pull request #14695 from atom/jr-editors-live-in-workspace-center

Provide API for observing the active text editor
This commit is contained in:
Jason Rudolph
2017-06-06 10:09:52 -04:00
committed by GitHub
5 changed files with 221 additions and 112 deletions

View File

@@ -3628,6 +3628,9 @@ class TextEditor extends Model
})
@component.element
getAllowedLocations: ->
['center']
# Essential: Retrieves the greyed out placeholder of a mini editor.
#
# Returns a {String}.