src/vs/workbench/browser/parts/editor/textDiffEditor.ts/TextDiffEditor/onDidChangeInputCapabilities
class TextDiffEditor:	private onDidChangeInputCapabilities(input: DiffEditorInput): void {
		if (this.input === input) {
			this.updateReadonly(input);
		}
	}