Add PaneContainer::onDidChangeActivePane

This commit is contained in:
Nathan Sobo
2014-08-27 10:56:56 -06:00
parent 8225f759bf
commit 2b63f8a4ee
3 changed files with 25 additions and 2 deletions

View File

@@ -127,7 +127,7 @@ class Pane extends Model
# Public: Makes this pane the *active* pane, causing it to gain focus
# immediately.
activate: ->
@container?.activePane = this
@container?.setActivePane(this)
@emit 'activated'
@emitter.emit 'did-activate'