From b8fb2f4d11cd6bdf2bd8b5ec2d01702d42c3cafb Mon Sep 17 00:00:00 2001 From: Ivan Zuzak Date: Thu, 9 Apr 2015 15:38:48 +0200 Subject: [PATCH] Clarify that URIs don't need to be files --- src/workspace.coffee | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/workspace.coffee b/src/workspace.coffee index 6c60cf22a..e864e2af2 100644 --- a/src/workspace.coffee +++ b/src/workspace.coffee @@ -371,11 +371,12 @@ class Workspace extends Model Section: Opening ### - # 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. + # Essential: Opens the given URI in Atom asynchronously. + # If the URI is already open, the existing item for that URI will be + # activated. If no URI is given, or no registered opener can open + # the URI, a new empty {TextEditor} will be 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`.