Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Commit 1017758

Browse files
committed
Make case search insensitive.
1 parent fffcd64 commit 1017758

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/Main/Base/Project/Src/Gui/Dialogs/ReferenceDialog/ProjectReferencePanel.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,10 @@ static bool ContainsAnyOfTokens(string bigText, string[] tokens)
9292
return true;
9393
foreach(var token in tokens)
9494
{
95-
if(bigText.Contains(token))
96-
return true;
95+
if(bigText.IndexOf(token, StringComparison.OrdinalIgnoreCase)<0)
96+
return false;
9797
}
98-
return false;
98+
return true;
9999
}
100100

101101
void Search()

0 commit comments

Comments
 (0)