mirror of
https://github.com/atom/atom.git
synced 2026-02-18 10:31:54 -05:00
Add Workspace::getActivePane
This commit is contained in:
committed by
Corey Johnson & Nathan Sobo
parent
63eb032472
commit
b8d8ae68a3
@@ -153,6 +153,10 @@ class Workspace extends Model
|
||||
getOpeners: ->
|
||||
atom.project.openers
|
||||
|
||||
# Public: Returns the active {Pane}.
|
||||
getActivePane: ->
|
||||
@paneContainer.activePane
|
||||
|
||||
# Public: save the active item.
|
||||
saveActivePaneItem: ->
|
||||
@activePane?.saveActiveItem()
|
||||
|
||||
Reference in New Issue
Block a user