src/vs/workbench/contrib/searchEditor/browser/searchEditorInput.ts/SearchEditorInput/setDirty
class SearchEditorInput:	setDirty(dirty: boolean) {
		const wasDirty = this.dirty;
		this.dirty = dirty;
		if (wasDirty !== dirty) {
			this._onDidChangeDirty.fire();
		}
	}