mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 12:51:30 -05:00
Disable incremental by default before merging into master.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user