src/vs/workbench/api/browser/mainThreadCustomEditors.ts/MainThreadCustomEditorModel/change
class MainThreadCustomEditorModel:	private change(makeEdit: () => void): void {
		const wasDirty = this.isDirty();
		makeEdit();
		this._onDidChangeContent.fire();

		if (this.isDirty() !== wasDirty) {
			this._onDidChangeDirty.fire();
		}
	}