Disable incremental by default before merging into master.

This commit is contained in:
Cyrus Najmabadi
2014-12-17 12:41:08 -08:00
parent 5516c07e11
commit 4545549e07
3 changed files with 5 additions and 1 deletions

View File

@@ -2,6 +2,8 @@
/// <reference path="..\..\..\src\compiler\parser.ts" />
module ts {
ts.disableIncrementalParsing = false;
function withChange(text: IScriptSnapshot, start: number, length: number, newText: string): { text: IScriptSnapshot; textChangeRange: TextChangeRange; } {
var contents = text.getText(0, text.getLength());
var newContents = contents.substr(0, start) + newText + contents.substring(start + length);