Parameterize notification manager on TextEditor

This commit is contained in:
Nathan Sobo
2015-10-02 21:40:10 -06:00
parent 51abab930d
commit 979963a25c
2 changed files with 6 additions and 4 deletions

View File

@@ -458,7 +458,7 @@ class Workspace extends Model
@buildTextEditor(_.extend({buffer, largeFileMode}, options))
buildTextEditor: (params) ->
new TextEditor(_.extend({@config}, params))
new TextEditor(_.extend({@config, @notificationManager}, params))
# Public: Asynchronously reopens the last-closed item's URI if it hasn't already been
# reopened.