mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Add prependToBottom and appendToBottom
This commit is contained in:
@@ -272,6 +272,12 @@ class WorkspaceView extends View
|
||||
getOpenBufferPaths: ->
|
||||
_.uniq(_.flatten(@getEditorViews().map (editorView) -> editorView.getOpenBufferPaths()))
|
||||
|
||||
prependToBottom: (element)->
|
||||
@panes.after(element)
|
||||
|
||||
appendToBottom: (element)->
|
||||
@vertical.append(element)
|
||||
|
||||
# Public: Returns the currently focused {Pane}.
|
||||
getActivePane: ->
|
||||
@panes.getActivePane()
|
||||
|
||||
Reference in New Issue
Block a user