Initial commit

Fix misaligned suggestion text
This commit is contained in:
Garulf 2021-12-05 15:07:32 -05:00
parent 1e18e2684f
commit ff867d22a1

View file

@ -27,6 +27,7 @@ namespace Flow.Launcher.Plugin.Explorer.Search
Title = title, Title = title,
IcoPath = path, IcoPath = path,
SubTitle = subtitle, SubTitle = subtitle,
AutoCompleteText = $"{subtitle}\\",
TitleHighlightData = StringMatcher.FuzzySearch(query.Search, title).MatchData, TitleHighlightData = StringMatcher.FuzzySearch(query.Search, title).MatchData,
Action = c => Action = c =>
{ {
@ -123,6 +124,7 @@ namespace Flow.Launcher.Plugin.Explorer.Search
Title = Path.GetFileName(filePath), Title = Path.GetFileName(filePath),
SubTitle = filePath, SubTitle = filePath,
IcoPath = filePath, IcoPath = filePath,
AutoCompleteText = filePath,
TitleHighlightData = StringMatcher.FuzzySearch(query.Search, Path.GetFileName(filePath)).MatchData, TitleHighlightData = StringMatcher.FuzzySearch(query.Search, Path.GetFileName(filePath)).MatchData,
Score = score, Score = score,
Action = c => Action = c =>