Update comment.

This commit is contained in:
Cyrus Najmabadi 2015-02-27 13:45:29 -08:00
parent f23c79f3ae
commit 505c1f258f

View File

@ -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);
}