Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Unified Diff: editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/AnalysisServer.java

Issue 894863002: Formatter service API tweaks. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/analysis_server/doc/api.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/AnalysisServer.java
===================================================================
--- editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/AnalysisServer.java (revision 43367)
+++ editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/AnalysisServer.java (working copy)
@@ -255,8 +255,12 @@
* 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.
+ * @param selectionOffset The offset of the current selection in the file. In case preserving,
+ * selection information is not required, 0 can be specified for both selection offset and
+ * length.
+ * @param selectionLength The length of the current selection in the file. In case preserving,
+ * selection information is not required, 0 can be specified for both selection offset and
+ * length.
*/
public void edit_format(String file, int selectionOffset, int selectionLength, FormatConsumer consumer);
« no previous file with comments | « no previous file | pkg/analysis_server/doc/api.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698