提交 0ea176e1 编写于 作者: J Johannes Rieken

Revert "fixes #21153"

This reverts commit 6fa22664.
上级 06987c36
......@@ -167,10 +167,6 @@ export class SuggestController implements IEditorContribution {
}
this.model.cancel();
// The list will possibly get focus due to a mouse click
// so we need to get it back to the editor on the next frame.
setTimeout(() => this.editor.focus(), 0);
}
triggerSuggest(): void {
......
......@@ -416,6 +416,8 @@ export class SuggestWidget implements IContentWidget, IDelegate<ICompletionItem>
this.onDidSelectEmitter.fire(item);
alert(nls.localize('suggestionAriaAccepted', "{0}, accepted", item.suggestion.label));
this.editor.focus();
}
private _getSuggestionAriaAlertLabel(item: ICompletionItem): string {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册