mirror of
https://github.com/atom/atom.git
synced 2026-01-24 22:38:20 -05:00
Add onDidChangeIcon event subscription
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user