src/vs/workbench/browser/parts/editor/textDiffEditor.ts/TextDiffEditor/setEditorVisible
class TextDiffEditor:	protected override setEditorVisible(visible: boolean, group: IEditorGroup | undefined): void {
		super.setEditorVisible(visible, group);

		if (visible) {
			this.diffEditorControl?.onVisible();
		} else {
			this.diffEditorControl?.onHide();
		}
	}