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

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

Issue 545323002: Add error condition INVALID_OVERLAY_CHANGE to analysis server. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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 bbd3400661059fe970f7815c1c3117a7e8db89df..66505b89a6f13cf2c42a04766ae1dd10c898afa6 100644
--- a/pkg/analysis_server/doc/api.html
+++ b/pkg/analysis_server/doc/api.html
@@ -1884,6 +1884,11 @@ dt.typeDefinition {
a file content overlay or that has had its overlay removed via
<a href="#type_RemoveContentOverlay">RemoveContentOverlay</a>.
</p>
+ <p>
+ If any of the edits cannot be applied due to its offset or
+ length being out of range, an INVALID_OVERLAY_CHANGE error
+ will be reported.
+ </p>
<dl><dt class="field"><b><i>type = "change"</i></b></dt><dd></dd><dt class="field"><b><i>edits ( List&lt;<a href="#type_SourceEdit">SourceEdit</a>&gt; )</i></b></dt><dd>
@@ -2604,6 +2609,14 @@ dt.typeDefinition {
which does not match a file currently subject to
analysis.
</p>
+ </dd><dt class="value">INVALID_OVERLAY_CHANGE</dt><dd>
+
+ <p>
+ An analysis.updateContent request contained a
+ ChangeContentOverlay object which can't be applied, due
+ to an edit having an offset or length that is out of
+ range.
+ </p>
</dd><dt class="value">INVALID_PARAMETER</dt><dd>
<p>

Powered by Google App Engine
This is Rietveld 408576698