Add a getFullText() helper method to IScriptSnapshot (#21155)

* Add a `getFullText()` helper method to `IScriptSnapshot`

* Use a function instead of a method
This commit is contained in:
Andy authored and GitHub committed 2018-01-12 10:44:39 -08:00
1 parent b529d5ba1f
commit d2fd137d88
13 files changed
+31 -69

No files matched your search

+1 -1
View File
@@ -371,7 +371,7 @@ namespace ts.server {
}
getLength() {
return this.index.root.charCount();
return this.index.getLength();
}
getChangeRange(oldSnapshot: IScriptSnapshot): TextChangeRange {