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

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

Issue 825393005: Addition of the optional FileReadMode into the server spec. (Closed) Base URL: https://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
Index: pkg/analysis_server/doc/api.html
diff --git a/pkg/analysis_server/doc/api.html b/pkg/analysis_server/doc/api.html
index c3214a9c54a7ea1416aaa17f152e8f2be384ff55..0c9283436022e34d4ab973b8e2fea481a6afba80 100644
--- a/pkg/analysis_server/doc/api.html
+++ b/pkg/analysis_server/doc/api.html
@@ -2007,6 +2007,7 @@ dt.typeDefinition {
+
<dl><dt class="typeDefinition"><a name="type_AddContentOverlay">AddContentOverlay: object</a></dt><dd>
<p>
A directive to begin overlaying the contents of a file. The
@@ -2132,6 +2133,11 @@ dt.typeDefinition {
True if lints should be generated as part of generating
errors and warnings.
</p>
+ </dd><dt class="field"><b><i>fileReadMode ( <span style="color:#999999">optional</span> <a href="#type_FileReadMode">FileReadMode</a> )</i></b></dt><dd>
+
+ <p>
+ The mode to read files from disk, by default this value is AS_IS.
+ </p>
</dd></dl></dd><dt class="typeDefinition"><a name="type_AnalysisService">AnalysisService: String</a></dt><dd>
<p>
An enumeration of the services provided by the analysis
@@ -2440,7 +2446,25 @@ dt.typeDefinition {
<p>
The absolute path of a file.
</p>
- </dd><dt class="typeDefinition"><a name="type_FoldingKind">FoldingKind: String</a></dt><dd>
+ </dd><dt class="typeDefinition"><a name="type_FileReadMode">FileReadMode: String</a></dt><dd>
+ <p>
+ An enumeration of the ways files can be read from disk. Some clients
+ normalize end of line characters which would make the file offset and
+ range information incorrect.
+ </p>
+
+ <dl><dt class="value">AS_IS</dt><dd>
+
+ <p>
+ File contents are read as-is, no file changes occur.
+ </p>
+ </dd><dt class="value">NORMALIZE_EOL</dt><dd>
+
+ <p>
+ File contents normalize the end of line characters to the single
+ character new line '\n'.
+ </p>
+ </dd></dl></dd><dt class="typeDefinition"><a name="type_FoldingKind">FoldingKind: String</a></dt><dd>
<p>
An enumeration of the kinds of folding regions.
</p>

Powered by Google App Engine
This is Rietveld 408576698