src/vs/editor/standalone/browser/quickInput/standaloneQuickInputServiceImpl.ts/EditorScopedQuickInputServiceImpl/constructor
class EditorScopedQuickInputServiceImpl:	constructor(
		editor: ICodeEditor,
		@IInstantiationService instantiationService: IInstantiationService,
		@IContextKeyService contextKeyService: IContextKeyService,
		@IThemeService themeService: IThemeService,
		@IAccessibilityService accessibilityService: IAccessibilityService,
		@ILayoutService layoutService: ILayoutService
	) {
		super(instantiationService, contextKeyService, themeService, accessibilityService, layoutService);

		// Use the passed in code editor as host for the quick input widget
		const contribution = QuickInputEditorContribution.get(editor);
		this.host = {
			_serviceBrand: undefined,
			get container() { return contribution.widget.getDomNode(); },
			get dimension() { return editor.getLayoutInfo(); },
			get onDidLayout() { return editor.onDidLayoutChange; },
			focus: () => editor.focus()
		};
	}