From fa62aa00ff69eb8503f5ca4967c242560ff32b4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Lucas=20Golini?= Date: Sun, 20 Oct 2024 14:51:01 -0300 Subject: [PATCH] Rever small change in fuzzy search for command palette. --- src/tools/ecode/commandpalette.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/ecode/commandpalette.cpp b/src/tools/ecode/commandpalette.cpp index 067e47bbb..ae987d0e4 100644 --- a/src/tools/ecode/commandpalette.cpp +++ b/src/tools/ecode/commandpalette.cpp @@ -75,8 +75,8 @@ CommandPalette::fuzzyMatch( const std::vector>& cmdPale std::vector> ret; for ( size_t i = 0; i < cmdPalette.size(); i++ ) { - int matchName = String::fuzzyMatch( cmdPalette[i][0], match, true, true ); - int matchKeybind = String::fuzzyMatch( cmdPalette[i][2], match, true, true ); + int matchName = String::fuzzyMatch( cmdPalette[i][0], match ); + int matchKeybind = String::fuzzyMatch( cmdPalette[i][2], match ); matchesMap.insert( { std::max( matchName, matchKeybind ), i } ); } for ( auto& res : matchesMap ) {