mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 12:04:04 +01:00
Introduce event on input to indicate dirty state change (fixes #6953)
This commit is contained in:
@@ -57,6 +57,9 @@ export class DiffEditorInput extends BaseDiffEditorInput {
|
||||
this.dispose();
|
||||
}
|
||||
}));
|
||||
|
||||
// When the modified model gets dirty, re-emit this to the outside
|
||||
this._toUnbind.push(this.modifiedInput.onDidChangeDirty(() => this._onDidChangeDirty.fire()));
|
||||
}
|
||||
|
||||
public get toUnbind() {
|
||||
|
||||
Reference in New Issue
Block a user