mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-17 11:24:29 -05:00
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:
@@ -371,7 +371,7 @@ namespace ts.server {
|
||||
}
|
||||
|
||||
getLength() {
|
||||
return this.index.root.charCount();
|
||||
return this.index.getLength();
|
||||
}
|
||||
|
||||
getChangeRange(oldSnapshot: IScriptSnapshot): TextChangeRange {
|
||||
|
||||
Reference in New Issue
Block a user