mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-22 17:48:01 +02:00
Improved performance of fuzzy string matching
This commit is contained in:
parent
b70745ef1e
commit
04888b8f10
4 changed files with 79 additions and 70 deletions
|
@ -409,7 +409,7 @@ namespace IDE.ui
|
|||
for(char32 c in mEntryDisplay.DecodedChars)
|
||||
loop:
|
||||
{
|
||||
if(mMatchIndices.Contains((uint8)index))
|
||||
if(mMatchIndices?.Contains((uint8)index) == true)
|
||||
{
|
||||
g.PushColor(DarkTheme.COLOR_MENU_FOCUSED);
|
||||
defer:loop g.PopColor();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue