mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
📝 Document Workspace::buildTextEditor
This commit is contained in:
committed by
Nathan Sobo
parent
d878092794
commit
13301b551c
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user