We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc7af98 commit 2354a33Copy full SHA for 2354a33
src/vs/editor/browser/widget/diffEditorWidget2/diffEditorEditors.ts
@@ -39,10 +39,10 @@ export class DiffEditorEditors extends Disposable {
39
this.modified = this._createRightHandSideEditor(_options.editorOptions.get(), codeEditorWidgetOptions.modifiedEditor || {});
40
41
this._register(autorunHandleChanges('update editor options', {
42
- createEmptyChangeSummary: () => ({}),
+ createEmptyChangeSummary: () => ({} as IDiffEditorConstructionOptions),
43
handleChange: (ctx, changeSummary) => {
44
if (ctx.didChange(_options.editorOptions)) {
45
- Object.assign(changeSummary, ctx.change);
+ Object.assign(changeSummary, ctx.change.changedOptions);
46
}
47
return true;
48
0 commit comments