Add onDidChangeIcon event subscription

This commit is contained in:
Kevin Sawicki
2015-03-16 16:25:45 -07:00
parent 84f7e6048e
commit 792a124668

View File

@@ -457,6 +457,10 @@ class TextEditor extends Model
onDidChangeScrollLeft: (callback) ->
@emitter.on 'did-change-scroll-left', callback
# TODO Remove once the tabs package no longer uses .on subscriptions
onDidChangeIcon: (callback) ->
@emitter.on 'did-change-icon', callback
on: (eventName) ->
switch eventName
when 'title-changed'