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

Side by Side Diff: pkg/analysis_server/doc/api.html

Issue 894863002: Formatter service API tweaks. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <html><head> 1 <html><head>
2 <meta charset="UTF-8"> 2 <meta charset="UTF-8">
3 <title>Analysis Server API Specification</title> 3 <title>Analysis Server API Specification</title>
4 <style>body { 4 <style>body {
5 font-family: sans-serif, serif; 5 font-family: sans-serif, serif;
6 padding-left: 5%; 6 padding-left: 5%;
7 padding-right: 5%; 7 padding-right: 5%;
8 } 8 }
9 h1 { 9 h1 {
10 text-align: center; 10 text-align: center;
(...skipping 1499 matching lines...) Expand 10 before | Expand all | Expand 10 after
1510 1510
1511 1511
1512 <h4>Parameters</h4><dl><dt class="field"><b><i>file ( <a href="#type_FileP ath">FilePath</a> )</i></b></dt><dd> 1512 <h4>Parameters</h4><dl><dt class="field"><b><i>file ( <a href="#type_FileP ath">FilePath</a> )</i></b></dt><dd>
1513 1513
1514 <p> 1514 <p>
1515 The file containing the code to be formatted. 1515 The file containing the code to be formatted.
1516 </p> 1516 </p>
1517 </dd><dt class="field"><b><i>selectionOffset ( int )</i></b></dt><dd> 1517 </dd><dt class="field"><b><i>selectionOffset ( int )</i></b></dt><dd>
1518 1518
1519 <p> 1519 <p>
1520 The offset of the current selection in the file. 1520 The offset of the current selection in the file. In case
1521 preserving, selection information is not required, 0 can be
1522 specified for both selection offset and length.
1521 </p> 1523 </p>
1522 </dd><dt class="field"><b><i>selectionLength ( int )</i></b></dt><dd> 1524 </dd><dt class="field"><b><i>selectionLength ( int )</i></b></dt><dd>
1523 1525
1524 <p> 1526 <p>
1525 The length of the current selection in the file. 1527 The length of the current selection in the file. In case
1528 preserving, selection information is not required, 0 can be
1529 specified for both selection offset and length.
1526 </p> 1530 </p>
1527 </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> 1531 </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>
1528 1532
1529 <p> 1533 <p>
1530 The edit(s) to be applied in order to format the code. The list 1534 The edit(s) to be applied in order to format the code. The list
1531 will be empty if the code was already formatted (there are no 1535 will be empty if the code was already formatted (there are no
1532 changes). 1536 changes).
1533 </p> 1537 </p>
1534 </dd><dt class="field"><b><i>selectionOffset ( int )</i></b></dt><dd> 1538 </dd><dt class="field"><b><i>selectionOffset ( int )</i></b></dt><dd>
1535 1539
(...skipping 2161 matching lines...) Expand 10 before | Expand all | Expand 10 after
3697 <p> 3701 <p>
3698 This section contains a list of all of the errors that are 3702 This section contains a list of all of the errors that are
3699 produced by the server and the data that is returned with each. 3703 produced by the server and the data that is returned with each.
3700 </p> 3704 </p>
3701 <p> 3705 <p>
3702 TBD 3706 TBD
3703 </p> 3707 </p>
3704 3708
3705 3709
3706 </body></html> 3710 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698