📝 Document Workspace::buildTextEditor

This commit is contained in:
Max Brunsfeld
2015-10-06 15:19:55 -07:00
committed by Nathan Sobo
parent d878092794
commit 13301b551c

View File

@@ -458,6 +458,9 @@ class Workspace extends Model
@project.bufferForPath(filePath, options).then (buffer) =>
@buildTextEditor(_.extend({buffer, largeFileMode}, options))
# Extended: Create a new text editor.
#
# Returns a {TextEditor}.
buildTextEditor: (params) ->
params = _.extend({
@config, @notificationManager, @packageManager, @clipboard, @viewRegistry,