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

Unified Diff: pkg/analysis_server/doc/api.html

Issue 1154303005: Add lineLength parameter to edit.format request (issue 23519) (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 7 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
Index: pkg/analysis_server/doc/api.html
diff --git a/pkg/analysis_server/doc/api.html b/pkg/analysis_server/doc/api.html
index 2b31520aaa79b9405157bed782757da7e0c3f9fb..1563bbb010f6ad9d78cecd093b0c2b331985e4d8 100644
--- a/pkg/analysis_server/doc/api.html
+++ b/pkg/analysis_server/doc/api.html
@@ -1525,6 +1525,7 @@ dt.typeDefinition {
"<b>file</b>": <a href="#type_FilePath">FilePath</a>
"<b>selectionOffset</b>": int
"<b>selectionLength</b>": int
+ "<b>lineLength</b>": <span style="color:#999999">optional</span> int
}
}</pre><br><pre>response: {
"id": String
@@ -1569,6 +1570,11 @@ dt.typeDefinition {
<p>
The length of the current selection in the file.
</p>
+ </dd><dt class="field"><b><i>lineLength ( <span style="color:#999999">optional</span> int )</i></b></dt><dd>
+
+ <p>
+ The line length to be used by the formatter.
+ </p>
</dd></dl><h4>Returns</h4><dl><dt class="field"><b><i>edits ( List&lt;<a href="#type_SourceEdit">SourceEdit</a>&gt; )</i></b></dt><dd>
<p>
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/edit/edit_domain.dart » ('j') | pkg/analysis_server/tool/spec/spec_input.html » ('J')

Powered by Google App Engine
This is Rietveld 408576698