mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-05 08:11:30 -06:00
Update comment.
This commit is contained in:
parent
f23c79f3ae
commit
505c1f258f
@ -1732,6 +1732,8 @@ module ts {
|
||||
|
||||
// Check with the host if anything actually changed.
|
||||
if (entry.sourceFile.version !== version) {
|
||||
// If so, ask the host for what changed between these two versions and then do the
|
||||
// actual incremental parsing.
|
||||
var textChangeRange = scriptSnapshot.getChangeRange(entry.sourceFile.scriptSnapshot);
|
||||
entry.sourceFile = updateLanguageServiceSourceFile(entry.sourceFile, scriptSnapshot, version, textChangeRange);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user