Add prependToBottom and appendToBottom

This commit is contained in:
probablycorey
2014-01-03 15:26:27 -08:00
parent 0947947a9d
commit 066d8dc944

View File

@@ -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()