@@ -631,7 +631,7 @@ registerEditorCommand(new FindCommand({
631631 precondition : CONTEXT_FIND_WIDGET_VISIBLE ,
632632 handler : x => x . closeFindWidget ( ) ,
633633 kbOpts : {
634- weight : KeybindingsRegistry . WEIGHT . editorContrib ( 5 ) ,
634+ weight : KeybindingsRegistry . WEIGHT . editorContrib ( ) + 5 ,
635635 kbExpr : EditorContextKeys . focus ,
636636 primary : KeyCode . Escape ,
637637 secondary : [ KeyMod . Shift | KeyCode . Escape ]
@@ -643,7 +643,7 @@ registerEditorCommand(new FindCommand({
643643 precondition : null ,
644644 handler : x => x . toggleCaseSensitive ( ) ,
645645 kbOpts : {
646- weight : KeybindingsRegistry . WEIGHT . editorContrib ( 5 ) ,
646+ weight : KeybindingsRegistry . WEIGHT . editorContrib ( ) + 5 ,
647647 kbExpr : EditorContextKeys . focus ,
648648 primary : ToggleCaseSensitiveKeybinding . primary ,
649649 mac : ToggleCaseSensitiveKeybinding . mac ,
@@ -657,7 +657,7 @@ registerEditorCommand(new FindCommand({
657657 precondition : null ,
658658 handler : x => x . toggleWholeWords ( ) ,
659659 kbOpts : {
660- weight : KeybindingsRegistry . WEIGHT . editorContrib ( 5 ) ,
660+ weight : KeybindingsRegistry . WEIGHT . editorContrib ( ) + 5 ,
661661 kbExpr : EditorContextKeys . focus ,
662662 primary : ToggleWholeWordKeybinding . primary ,
663663 mac : ToggleWholeWordKeybinding . mac ,
@@ -671,7 +671,7 @@ registerEditorCommand(new FindCommand({
671671 precondition : null ,
672672 handler : x => x . toggleRegex ( ) ,
673673 kbOpts : {
674- weight : KeybindingsRegistry . WEIGHT . editorContrib ( 5 ) ,
674+ weight : KeybindingsRegistry . WEIGHT . editorContrib ( ) + 5 ,
675675 kbExpr : EditorContextKeys . focus ,
676676 primary : ToggleRegexKeybinding . primary ,
677677 mac : ToggleRegexKeybinding . mac ,
@@ -685,7 +685,7 @@ registerEditorCommand(new FindCommand({
685685 precondition : null ,
686686 handler : x => x . toggleSearchScope ( ) ,
687687 kbOpts : {
688- weight : KeybindingsRegistry . WEIGHT . editorContrib ( 5 ) ,
688+ weight : KeybindingsRegistry . WEIGHT . editorContrib ( ) + 5 ,
689689 kbExpr : EditorContextKeys . focus ,
690690 primary : ToggleSearchScopeKeybinding . primary ,
691691 mac : ToggleSearchScopeKeybinding . mac ,
@@ -699,7 +699,7 @@ registerEditorCommand(new FindCommand({
699699 precondition : CONTEXT_FIND_WIDGET_VISIBLE ,
700700 handler : x => x . replace ( ) ,
701701 kbOpts : {
702- weight : KeybindingsRegistry . WEIGHT . editorContrib ( 5 ) ,
702+ weight : KeybindingsRegistry . WEIGHT . editorContrib ( ) + 5 ,
703703 kbExpr : EditorContextKeys . focus ,
704704 primary : KeyMod . CtrlCmd | KeyMod . Shift | KeyCode . KEY_1
705705 }
@@ -710,7 +710,7 @@ registerEditorCommand(new FindCommand({
710710 precondition : CONTEXT_FIND_WIDGET_VISIBLE ,
711711 handler : x => x . replaceAll ( ) ,
712712 kbOpts : {
713- weight : KeybindingsRegistry . WEIGHT . editorContrib ( 5 ) ,
713+ weight : KeybindingsRegistry . WEIGHT . editorContrib ( ) + 5 ,
714714 kbExpr : EditorContextKeys . focus ,
715715 primary : KeyMod . CtrlCmd | KeyMod . Alt | KeyCode . Enter
716716 }
@@ -721,7 +721,7 @@ registerEditorCommand(new FindCommand({
721721 precondition : CONTEXT_FIND_WIDGET_VISIBLE ,
722722 handler : x => x . selectAllMatches ( ) ,
723723 kbOpts : {
724- weight : KeybindingsRegistry . WEIGHT . editorContrib ( 5 ) ,
724+ weight : KeybindingsRegistry . WEIGHT . editorContrib ( ) + 5 ,
725725 kbExpr : EditorContextKeys . focus ,
726726 primary : KeyMod . Alt | KeyCode . Enter
727727 }
0 commit comments