mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
fix formatting
This commit is contained in:
parent
c142a50272
commit
3abd2d0b07
1 changed files with 5 additions and 5 deletions
|
|
@ -162,13 +162,13 @@ namespace Flow.Launcher.Infrastructure
|
||||||
return new MatchResult(true, UserSettingSearchPrecision, indexList, score);
|
return new MatchResult(true, UserSettingSearchPrecision, indexList, score);
|
||||||
}
|
}
|
||||||
|
|
||||||
return new MatchResult (false, UserSettingSearchPrecision);
|
return new MatchResult(false, UserSettingSearchPrecision);
|
||||||
}
|
}
|
||||||
|
|
||||||
// To get the index of the closest space which preceeds the first matching index
|
// To get the index of the closest space which preceeds the first matching index
|
||||||
private int CalculateClosestSpaceIndex(List<int> spaceIndices, int firstMatchIndex)
|
private int CalculateClosestSpaceIndex(List<int> spaceIndices, int firstMatchIndex)
|
||||||
{
|
{
|
||||||
if(spaceIndices.Count == 0)
|
if (spaceIndices.Count == 0)
|
||||||
{
|
{
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
@ -180,7 +180,7 @@ namespace Flow.Launcher.Infrastructure
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private static bool AllPreviousCharsMatched(int startIndexToVerify, int currentQuerySubstringCharacterIndex,
|
private static bool AllPreviousCharsMatched(int startIndexToVerify, int currentQuerySubstringCharacterIndex,
|
||||||
string fullStringToCompareWithoutCase, string currentQuerySubstring)
|
string fullStringToCompareWithoutCase, string currentQuerySubstring)
|
||||||
{
|
{
|
||||||
var allMatch = true;
|
var allMatch = true;
|
||||||
|
|
@ -324,13 +324,13 @@ namespace Flow.Launcher.Infrastructure
|
||||||
public class MatchOption
|
public class MatchOption
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// prefix of match char, use for hightlight
|
/// prefix of match char, use for highlight
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Obsolete("this is never used")]
|
[Obsolete("this is never used")]
|
||||||
public string Prefix { get; set; } = "";
|
public string Prefix { get; set; } = "";
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// suffix of match char, use for hightlight
|
/// suffix of match char, use for highlight
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Obsolete("this is never used")]
|
[Obsolete("this is never used")]
|
||||||
public string Suffix { get; set; } = "";
|
public string Suffix { get; set; } = "";
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue