| OLD | NEW |
| 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 1507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1518 | 1518 |
| 1519 | 1519 |
| 1520 | 1520 |
| 1521 <h3>Requests</h3><dl><dt class="request"><a name="request_edit.format">edit.
format</a> (<a href="#request_edit.format">#</a>)</dt><dd><div class="box"><pre>
request: { | 1521 <h3>Requests</h3><dl><dt class="request"><a name="request_edit.format">edit.
format</a> (<a href="#request_edit.format">#</a>)</dt><dd><div class="box"><pre>
request: { |
| 1522 "id": String | 1522 "id": String |
| 1523 "method": "edit.format" | 1523 "method": "edit.format" |
| 1524 "params": { | 1524 "params": { |
| 1525 "<b>file</b>": <a href="#type_FilePath">FilePath</a> | 1525 "<b>file</b>": <a href="#type_FilePath">FilePath</a> |
| 1526 "<b>selectionOffset</b>": int | 1526 "<b>selectionOffset</b>": int |
| 1527 "<b>selectionLength</b>": int | 1527 "<b>selectionLength</b>": int |
| 1528 "<b>lineLength</b>": <span style="color:#999999">optional</span> int |
| 1528 } | 1529 } |
| 1529 }</pre><br><pre>response: { | 1530 }</pre><br><pre>response: { |
| 1530 "id": String | 1531 "id": String |
| 1531 "error": <span style="color:#999999">optional</span> <a href="#type_RequestErr
or">RequestError</a> | 1532 "error": <span style="color:#999999">optional</span> <a href="#type_RequestErr
or">RequestError</a> |
| 1532 "result": { | 1533 "result": { |
| 1533 "<b>edits</b>": List<<a href="#type_SourceEdit">SourceEdit</a>> | 1534 "<b>edits</b>": List<<a href="#type_SourceEdit">SourceEdit</a>> |
| 1534 "<b>selectionOffset</b>": int | 1535 "<b>selectionOffset</b>": int |
| 1535 "<b>selectionLength</b>": int | 1536 "<b>selectionLength</b>": int |
| 1536 } | 1537 } |
| 1537 }</pre></div> | 1538 }</pre></div> |
| (...skipping 24 matching lines...) Expand all Loading... |
| 1562 </dd><dt class="field"><b><i>selectionOffset ( int )</i></b></dt><dd> | 1563 </dd><dt class="field"><b><i>selectionOffset ( int )</i></b></dt><dd> |
| 1563 | 1564 |
| 1564 <p> | 1565 <p> |
| 1565 The offset of the current selection in the file. | 1566 The offset of the current selection in the file. |
| 1566 </p> | 1567 </p> |
| 1567 </dd><dt class="field"><b><i>selectionLength ( int )</i></b></dt><dd> | 1568 </dd><dt class="field"><b><i>selectionLength ( int )</i></b></dt><dd> |
| 1568 | 1569 |
| 1569 <p> | 1570 <p> |
| 1570 The length of the current selection in the file. | 1571 The length of the current selection in the file. |
| 1571 </p> | 1572 </p> |
| 1573 </dd><dt class="field"><b><i>lineLength ( <span style="color:#999999">
optional</span> int )</i></b></dt><dd> |
| 1574 |
| 1575 <p> |
| 1576 The line length to be used by the formatter. |
| 1577 </p> |
| 1572 </dd></dl><h4>Returns</h4><dl><dt class="field"><b><i>edits ( List<
<a href="#type_SourceEdit">SourceEdit</a>> )</i></b></dt><dd> | 1578 </dd></dl><h4>Returns</h4><dl><dt class="field"><b><i>edits ( List<
<a href="#type_SourceEdit">SourceEdit</a>> )</i></b></dt><dd> |
| 1573 | 1579 |
| 1574 <p> | 1580 <p> |
| 1575 The edit(s) to be applied in order to format the code. The list | 1581 The edit(s) to be applied in order to format the code. The list |
| 1576 will be empty if the code was already formatted (there are no | 1582 will be empty if the code was already formatted (there are no |
| 1577 changes). | 1583 changes). |
| 1578 </p> | 1584 </p> |
| 1579 </dd><dt class="field"><b><i>selectionOffset ( int )</i></b></dt><dd> | 1585 </dd><dt class="field"><b><i>selectionOffset ( int )</i></b></dt><dd> |
| 1580 | 1586 |
| 1581 <p> | 1587 <p> |
| (...skipping 2227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3809 <p> | 3815 <p> |
| 3810 This section contains a list of all of the errors that are | 3816 This section contains a list of all of the errors that are |
| 3811 produced by the server and the data that is returned with each. | 3817 produced by the server and the data that is returned with each. |
| 3812 </p> | 3818 </p> |
| 3813 <p> | 3819 <p> |
| 3814 TBD | 3820 TBD |
| 3815 </p> | 3821 </p> |
| 3816 | 3822 |
| 3817 | 3823 |
| 3818 </body></html> | 3824 </body></html> |
| OLD | NEW |