提交 c65cd725 编写于 作者: S Sandeep Somavarapu

💄

上级 e0498489
......@@ -35,8 +35,7 @@ export class ContextScopedHistoryInputBox extends HistoryInputBox {
@IContextKeyService contextKeyService: IContextKeyService
) {
super(container, contextViewProvider, options);
const { scopedContextKeyService } = createAndBindHistoryNavigationWidgetScopedContextKeyService(contextKeyService, <IContextScopedHistoryNavigationWidget>{ target: this.element, historyNavigator: this });
this._register(scopedContextKeyService);
this._register(createAndBindHistoryNavigationWidgetScopedContextKeyService(contextKeyService, <IContextScopedHistoryNavigationWidget>{ target: this.element, historyNavigator: this }).scopedContextKeyService);
}
}
......@@ -47,8 +46,7 @@ export class ContextScopedFindInput extends FindInput {
@IContextKeyService contextKeyService: IContextKeyService
) {
super(container, contextViewProvider, options);
const { scopedContextKeyService } = createAndBindHistoryNavigationWidgetScopedContextKeyService(contextKeyService, <IContextScopedHistoryNavigationWidget>{ target: this.inputBox.element, historyNavigator: this.inputBox });
this._register(scopedContextKeyService);
this._register(createAndBindHistoryNavigationWidgetScopedContextKeyService(contextKeyService, <IContextScopedHistoryNavigationWidget>{ target: this.inputBox.element, historyNavigator: this.inputBox }).scopedContextKeyService);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册