Skip to content

Commit 3abd2d0

Browse files
committed
fix formatting
1 parent c142a50 commit 3abd2d0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Flow.Launcher.Infrastructure/StringMatcher.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -162,13 +162,13 @@ public MatchResult FuzzyMatch(string query, string stringToCompare, MatchOption
162162
return new MatchResult(true, UserSettingSearchPrecision, indexList, score);
163163
}
164164

165-
return new MatchResult (false, UserSettingSearchPrecision);
165+
return new MatchResult(false, UserSettingSearchPrecision);
166166
}
167167

168168
// To get the index of the closest space which preceeds the first matching index
169169
private int CalculateClosestSpaceIndex(List<int> spaceIndices, int firstMatchIndex)
170170
{
171-
if(spaceIndices.Count == 0)
171+
if (spaceIndices.Count == 0)
172172
{
173173
return -1;
174174
}
@@ -180,7 +180,7 @@ private int CalculateClosestSpaceIndex(List<int> spaceIndices, int firstMatchInd
180180
}
181181
}
182182

183-
private static bool AllPreviousCharsMatched(int startIndexToVerify, int currentQuerySubstringCharacterIndex,
183+
private static bool AllPreviousCharsMatched(int startIndexToVerify, int currentQuerySubstringCharacterIndex,
184184
string fullStringToCompareWithoutCase, string currentQuerySubstring)
185185
{
186186
var allMatch = true;
@@ -324,13 +324,13 @@ private int ScoreAfterSearchPrecisionFilter(int rawScore)
324324
public class MatchOption
325325
{
326326
/// <summary>
327-
/// prefix of match char, use for hightlight
327+
/// prefix of match char, use for highlight
328328
/// </summary>
329329
[Obsolete("this is never used")]
330330
public string Prefix { get; set; } = "";
331331

332332
/// <summary>
333-
/// suffix of match char, use for hightlight
333+
/// suffix of match char, use for highlight
334334
/// </summary>
335335
[Obsolete("this is never used")]
336336
public string Suffix { get; set; } = "";

0 commit comments

Comments
 (0)