mirror of
https://github.com/atom/atom.git
synced 2026-02-15 17:15:24 -05:00
getActiveItem -> getActivePaneItem
This commit is contained in:
@@ -362,7 +362,7 @@ class Workspace extends Model
|
||||
# Returns an {Editor} or `undefined` if the current active item is not an
|
||||
# {Editor}.
|
||||
getActiveTextEditor: ->
|
||||
activeItem = @getActiveItem()
|
||||
activeItem = @getActivePaneItem()
|
||||
activeItem if activeItem instanceof Editor
|
||||
|
||||
# Deprecated:
|
||||
|
||||
Reference in New Issue
Block a user