src/vs/workbench/contrib/preferences/browser/preferencesEditor.ts/DefaultPreferencesEditor/createEditorControl
class DefaultPreferencesEditor:	override createEditorControl(parent: HTMLElement, configuration: ICodeEditorOptions): editorCommon.IEditor {
		const editor = this.instantiationService.createInstance(CodeEditorWidget, parent, configuration, { contributions: DefaultPreferencesEditor._getContributions() });

		// Inform user about editor being readonly if user starts type
		this._register(editor.onDidType(() => this.showReadonlyHint(editor)));
		this._register(editor.onDidPaste(() => this.showReadonlyHint(editor)));

		return editor;
	}