From f289ac91188fb14a393f98d467d44ebc5648b3f8 Mon Sep 17 00:00:00 2001 From: Joao Moreno Date: Fri, 21 Apr 2017 09:55:00 +0200 Subject: [PATCH] :bug: fixes #24673 --- .../contrib/suggest/browser/suggestController.ts | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/src/vs/editor/contrib/suggest/browser/suggestController.ts b/src/vs/editor/contrib/suggest/browser/suggestController.ts index 878de713aab..241c5141a18 100644 --- a/src/vs/editor/contrib/suggest/browser/suggestController.ts +++ b/src/vs/editor/contrib/suggest/browser/suggestController.ts @@ -361,12 +361,7 @@ CommonEditorRegistry.registerEditorCommand(new SuggestCommand({ CommonEditorRegistry.registerEditorCommand(new SuggestCommand({ id: 'selectLastSuggestion', precondition: ContextKeyExpr.and(SuggestContext.Visible, SuggestContext.MultipleSuggestions), - handler: c => c.selectLastSuggestion(), - kbOpts: { - weight: weight, - kbExpr: EditorContextKeys.textFocus, - primary: KeyCode.End - } + handler: c => c.selectLastSuggestion() })); CommonEditorRegistry.registerEditorCommand(new SuggestCommand({ @@ -397,12 +392,7 @@ CommonEditorRegistry.registerEditorCommand(new SuggestCommand({ CommonEditorRegistry.registerEditorCommand(new SuggestCommand({ id: 'selectFirstSuggestion', precondition: ContextKeyExpr.and(SuggestContext.Visible, SuggestContext.MultipleSuggestions), - handler: c => c.selectFirstSuggestion(), - kbOpts: { - weight: weight, - kbExpr: EditorContextKeys.textFocus, - primary: KeyCode.Home - } + handler: c => c.selectFirstSuggestion() })); CommonEditorRegistry.registerEditorCommand(new SuggestCommand({ -- GitLab