Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Documentation: workspace.open( ) with no URI #6005

Merged
merged 2 commits into from Apr 9, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 5 additions & 3 deletions src/workspace.coffee
Expand Up @@ -371,9 +371,11 @@ class Workspace extends Model
Section: Opening
###

# Essential: Open a given a URI in Atom asynchronously.
#
# * `uri` A {String} containing a URI.
# Essential: Opens the given URI in Atom asynchronously, if it's not already open.
# If no URI is given, or the URI is the path of a file that does not exist,
# a new empty text edtior is created.
#
# * `uri` (optional) A {String} containing a URI.
# * `options` (optional) {Object}
# * `initialLine` A {Number} indicating which row to move the cursor to
# initially. Defaults to `0`.
Expand Down