function ReferenceWidget(editor, layoutData, _textModelResolverService, _contextService, _themeService, _instantiationService, _environmentService) {
            var _this = _super.call(this, editor, { showFrame: false, showArrow: true, isResizeable: true, isAccessible: true }) || this;
            _this.layoutData = layoutData;
            _this._textModelResolverService = _textModelResolverService;
            _this._contextService = _contextService;
            _this._themeService = _themeService;
            _this._instantiationService = _instantiationService;
            _this._environmentService = _environmentService;
            _this._disposeOnNewModel = [];
            _this._callOnDispose = [];
            _this._onDidSelectReference = new event_1.Emitter();
            _this._applyTheme(_themeService.getTheme());
            _this._callOnDispose.push(_themeService.onThemeChange(_this._applyTheme.bind(_this)));
            _this._instantiationService = _this._instantiationService.createChild(new serviceCollection_1.ServiceCollection([peekViewWidget_1.IPeekViewService, _this]));
            _this.create();
            return _this;
        }
ZoneWidget that is shown inside the editor