diff --git a/src/workspace.coffee b/src/workspace.coffee index 47d0cbe17..6515609ab 100644 --- a/src/workspace.coffee +++ b/src/workspace.coffee @@ -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: