mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-04 18:26:39 +02:00
[PTRun]Add Pinyin Support (#21465)
* Add Pinyin Support for Powertoys Run using hyjiacan.pinyin4net Revert microsoft/PowerToys#7455 closed microsoft/PowerToys#3587 closed microsoft/PowerToys#20370 Signed-off-by: 舰队的偶像-岛风酱! <frg2089@outlook.com> * Remove JetBrains annotations Signed-off-by: 舰队的偶像-岛风酱! <frg2089@outlook.com>
This commit is contained in:
@@ -6,7 +6,9 @@ using System;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Drawing;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
using ManagedCommon;
|
||||
|
||||
using Wox.Plugin;
|
||||
|
||||
namespace Wox.Infrastructure.UserSettings
|
||||
@@ -204,6 +206,11 @@ namespace Wox.Infrastructure.UserSettings
|
||||
|
||||
public string ResultFontStretch { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether when false Alphabet static service will always return empty results
|
||||
/// </summary>
|
||||
public bool ShouldUsePinyin { get; set; }
|
||||
|
||||
internal StringMatcher.SearchPrecisionScore QuerySearchPrecision { get; private set; } = StringMatcher.SearchPrecisionScore.Regular;
|
||||
|
||||
[JsonIgnore]
|
||||
|
||||
Reference in New Issue
Block a user