mirror of
https://github.com/atom/atom.git
synced 2026-02-10 06:35:00 -05:00
CommandInterpreter uses project and edit sessions instead of editor to execute
We don't want to pass view objects into it!
This commit is contained in:
@@ -162,6 +162,9 @@ class RootView extends View
|
||||
else
|
||||
@panes.find('.editor:first').view()
|
||||
|
||||
getActiveEditSession: ->
|
||||
@getActiveEditor()?.activeEditSession
|
||||
|
||||
focusNextPane: ->
|
||||
panes = @panes.find('.pane')
|
||||
currentIndex = panes.toArray().indexOf(@getFocusedPane()[0])
|
||||
|
||||
Reference in New Issue
Block a user