mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Pass items through in editor's pane-splitting convenience methods
This commit is contained in:
committed by
probablycorey
parent
bb15389b66
commit
fff5d5158f
@@ -654,17 +654,17 @@ class Editor extends View
|
||||
@updateLayerDimensions()
|
||||
@requestDisplayUpdate()
|
||||
|
||||
splitLeft: (editSession) ->
|
||||
@pane()?.splitLeft().activeView
|
||||
splitLeft: (items...) ->
|
||||
@pane()?.splitLeft(items...).activeView
|
||||
|
||||
splitRight: (editSession) ->
|
||||
@pane()?.splitRight().activeView
|
||||
splitRight: (items...) ->
|
||||
@pane()?.splitRight(items...).activeView
|
||||
|
||||
splitUp: (editSession) ->
|
||||
@pane()?.splitUp().activeView
|
||||
splitUp: (items...) ->
|
||||
@pane()?.splitUp(items...).activeView
|
||||
|
||||
splitDown: (editSession) ->
|
||||
@pane()?.splitDown().activeView
|
||||
splitDown: (items...) ->
|
||||
@pane()?.splitDown(items...).activeView
|
||||
|
||||
pane: ->
|
||||
@closest('.pane').view()
|
||||
|
||||
Reference in New Issue
Block a user