mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 03:07:04 +02:00
@@ -227,8 +227,6 @@ namespace Wox.Plugin.Everything.Everything
|
||||
yield break;
|
||||
}
|
||||
|
||||
Everything_SortResultsByPath();
|
||||
|
||||
const int bufferSize = 4096;
|
||||
StringBuilder buffer = new StringBuilder(bufferSize);
|
||||
for (int idx = 0; idx < Everything_GetNumResults(); ++idx)
|
||||
|
||||
@@ -47,12 +47,6 @@ namespace Wox.Plugin.Everything
|
||||
try
|
||||
{
|
||||
var searchList = api.Search(keyword, maxCount: ContextMenuStorage.Instance.MaxSearchCount).ToList();
|
||||
var fuzzyMather = FuzzyMatcher.Create(keyword);
|
||||
searchList.Sort(
|
||||
(x, y) =>
|
||||
fuzzyMather.Evaluate(Path.GetFileName(y.FullPath)).Score -
|
||||
fuzzyMather.Evaluate(Path.GetFileName(x.FullPath)).Score);
|
||||
|
||||
foreach (var s in searchList)
|
||||
{
|
||||
var path = s.FullPath;
|
||||
|
||||
Reference in New Issue
Block a user