src/vs/workbench/contrib/preferences/browser/preferencesEditor.ts/DefaultPreferencesEditor/setInput
class DefaultPreferencesEditor:	override async setInput(input: DefaultPreferencesEditorInput, options: ISettingsEditorOptions | undefined, context: IEditorOpenContext, token: CancellationToken): Promise<void> {
		await super.setInput(input, options, context, token);
		const editorModel = await this.input!.resolve();
		if (!editorModel) {
			return;
		}
		if (token.isCancellationRequested) {
			return;
		}
		await editorModel.resolve();
		if (token.isCancellationRequested) {
			return;
		}
		const editor = assertIsDefined(this.getControl());
		editor.setModel((<TextResourceEditorModel>editorModel).textEditorModel);
	}