mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Trigger a 'new-edit-session' event when Project.prototype.open creates an EditSession
This commit is contained in:
@@ -90,6 +90,7 @@ class Project
|
||||
softWrap: @getSoftWrap()
|
||||
|
||||
@editSessions.push editSession
|
||||
@trigger 'new-edit-session', editSession
|
||||
editSession
|
||||
|
||||
buildBuffer: (filePath) ->
|
||||
|
||||
Reference in New Issue
Block a user