Trigger a 'new-edit-session' event when Project.prototype.open creates an EditSession

This commit is contained in:
Nathan Sobo
2012-06-20 17:40:45 -06:00
parent 583af86f68
commit d50b7f7a37
2 changed files with 12 additions and 5 deletions

View File

@@ -90,6 +90,7 @@ class Project
softWrap: @getSoftWrap()
@editSessions.push editSession
@trigger 'new-edit-session', editSession
editSession
buildBuffer: (filePath) ->