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:
Corey Johnson & Nathan Sobo
2012-07-13 15:10:37 -06:00
parent a4db677979
commit 42f322a112
13 changed files with 141 additions and 143 deletions

View File

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