Skip to content

Commit 505c1f2

Browse files
Update comment.
1 parent f23c79f commit 505c1f2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/services/services.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1732,6 +1732,8 @@ module ts {
17321732

17331733
// Check with the host if anything actually changed.
17341734
if (entry.sourceFile.version !== version) {
1735+
// If so, ask the host for what changed between these two versions and then do the
1736+
// actual incremental parsing.
17351737
var textChangeRange = scriptSnapshot.getChangeRange(entry.sourceFile.scriptSnapshot);
17361738
entry.sourceFile = updateLanguageServiceSourceFile(entry.sourceFile, scriptSnapshot, version, textChangeRange);
17371739
}

0 commit comments

Comments
 (0)