@@ -162,13 +162,13 @@ public MatchResult FuzzyMatch(string query, string stringToCompare, MatchOption
162
162
return new MatchResult ( true , UserSettingSearchPrecision , indexList , score ) ;
163
163
}
164
164
165
- return new MatchResult ( false , UserSettingSearchPrecision ) ;
165
+ return new MatchResult ( false , UserSettingSearchPrecision ) ;
166
166
}
167
167
168
168
// To get the index of the closest space which preceeds the first matching index
169
169
private int CalculateClosestSpaceIndex ( List < int > spaceIndices , int firstMatchIndex )
170
170
{
171
- if ( spaceIndices . Count == 0 )
171
+ if ( spaceIndices . Count == 0 )
172
172
{
173
173
return - 1 ;
174
174
}
@@ -180,7 +180,7 @@ private int CalculateClosestSpaceIndex(List<int> spaceIndices, int firstMatchInd
180
180
}
181
181
}
182
182
183
- private static bool AllPreviousCharsMatched ( int startIndexToVerify , int currentQuerySubstringCharacterIndex ,
183
+ private static bool AllPreviousCharsMatched ( int startIndexToVerify , int currentQuerySubstringCharacterIndex ,
184
184
string fullStringToCompareWithoutCase , string currentQuerySubstring )
185
185
{
186
186
var allMatch = true ;
@@ -324,13 +324,13 @@ private int ScoreAfterSearchPrecisionFilter(int rawScore)
324
324
public class MatchOption
325
325
{
326
326
/// <summary>
327
- /// prefix of match char, use for hightlight
327
+ /// prefix of match char, use for highlight
328
328
/// </summary>
329
329
[ Obsolete ( "this is never used" ) ]
330
330
public string Prefix { get ; set ; } = "" ;
331
331
332
332
/// <summary>
333
- /// suffix of match char, use for hightlight
333
+ /// suffix of match char, use for highlight
334
334
/// </summary>
335
335
[ Obsolete ( "this is never used" ) ]
336
336
public string Suffix { get ; set ; } = "" ;
0 commit comments