Set active editor with dirty value before and after save #3411 (#3417)

This commit is contained in:
Raj
2018-12-04 13:21:13 -08:00
committed by GitHub
parent 487531cc52
commit 3091be8f67
2 changed files with 14 additions and 4 deletions

View File

@@ -169,4 +169,12 @@ export class NotebookInput extends EditorInput {
save(): TPromise<boolean> {
return this._model.save();
}
/**
* Sets active editor with dirty value.
* @param isDirty boolean value to set editor dirty
*/
setDirty(isDirty: boolean): void {
this._model.setDirty(isDirty);
}
}