mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 02:36:19 +02:00
Adding back binding to QueryText and updating the cursor position similar to how wox originally did it.
This commit is contained in:
@@ -354,6 +354,12 @@ namespace PowerLauncher
|
||||
{
|
||||
_launcher.AutoCompleteTextBox.PlaceholderText = String.Empty;
|
||||
}
|
||||
|
||||
if (_viewModel.QueryTextCursorMovedToEnd)
|
||||
{
|
||||
_launcher.TextBox.SelectionStart = _launcher.TextBox.Text.Length;
|
||||
_viewModel.QueryTextCursorMovedToEnd = false;
|
||||
}
|
||||
}
|
||||
|
||||
private async Task DelayedCheck(DateTime latestTimeOfTyping, string text)
|
||||
|
||||
Reference in New Issue
Block a user