mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Add 'editor:edit-session-added' event to Editor
This commit is contained in:
@@ -388,6 +388,7 @@ class Editor extends View
|
||||
if index == -1
|
||||
index = @editSessions.length
|
||||
@editSessions.push(editSession)
|
||||
@trigger 'editor:edit-session-added', editSession
|
||||
|
||||
@setActiveEditSessionIndex(index)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user