document.isDirty appears to report false for dirty untitled document (fixes #723)

This commit is contained in:
Benjamin Pasero
2015-12-17 10:31:07 +01:00
parent ccc0b4acf3
commit 6b5c0b4a63

View File

@@ -203,6 +203,7 @@ export class BaseTextDocument implements vscode.TextDocument {
dispose(): void {
this._lines.length = 0;
this._textLines.length = 0;
this._isDirty = false;
}
get uri(): URI {