Parameterize project on TextEditor

This commit is contained in:
Nathan Sobo
2015-10-02 22:04:00 -06:00
parent 8d7a08d07f
commit b729a9bb37
2 changed files with 7 additions and 7 deletions

View File

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