[PTRun]Fix cutting off and using previous input (#19215)

* Deselect previous selected item because it might not be valid.

* fast execute non-delayed queries

* Speling fixxes.

* Fixed _isTextSetProgrammatically check for when PTRSearchQueryFastResultsWithDelay = false

* Resoved some comments.

* Added partial delay for fast plugins

* Updates settings UI for second throttle value. Changed text.

* 'Verbiage' update
This commit is contained in:
Jeff Lord
2022-08-10 06:07:53 -04:00
committed by GitHub
parent 5d6160cf7a
commit 7f4a2ca6db
8 changed files with 285 additions and 61 deletions

View File

@@ -82,12 +82,31 @@ namespace Wox.Infrastructure.UserSettings
private int _searchInputDelay = 150;
private int _searchInputDelayFast = 30;
private int _searchClickedItemWeight = 5;
private bool _searchQueryTuningEnabled;
private bool _searchWaitForSlowResults;
public int SearchInputDelayFast
{
get
{
return _searchInputDelayFast;
}
set
{
if (_searchInputDelayFast != value)
{
_searchInputDelayFast = value;
OnPropertyChanged(nameof(SearchInputDelayFast));
}
}
}
public int SearchInputDelay
{
get
@@ -168,6 +187,13 @@ namespace Wox.Infrastructure.UserSettings
public string QueryBoxFontWeight { get; set; }
public bool PTRunNonDelayedSearchInParallel { get; set; } = true;
public string PTRunStartNewSearchAction { get; set; }
public bool PTRSearchQueryFastResultsWithDelay { get; set; }
// public bool PTRSearchQueryFastResultsWithPartialDelay { get; set; }
public string QueryBoxFontStretch { get; set; }
public string ResultFont { get; set; } = FontFamily.GenericSansSerif.Name;