| Index: editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/AnalysisServer.java
|
| ===================================================================
|
| --- editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/AnalysisServer.java (revision 42834)
|
| +++ editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/AnalysisServer.java (working copy)
|
| @@ -233,6 +233,10 @@
|
| * close to matching the original as possible, but whitespace at the beginning or end of the
|
| * selected region will be ignored.
|
| *
|
| + * If a request is made for a file which does not exist, or which is not currently subject to
|
| + * analysis (e.g. because it is not associated with any analysis root specified to
|
| + * analysis.setAnalysisRoots), an error of type FORMAT_INVALID_FILE will be generated.
|
| + *
|
| * @param file The file containing the code to be formatted.
|
| * @param selectionOffset The offset of the current selection in the file.
|
| * @param selectionLength The length of the current selection in the file.
|
|
|