Merge pull request #1250 from jhdxr/bugfix/1199

PageUp/PageDown for result list
This commit is contained in:
bao-qian 2017-02-23 14:52:30 +00:00 committed by GitHub
commit b509ae78b7

View File

@ -269,6 +269,16 @@ namespace Wox
_viewModel.SelectPrevItemCommand.Execute(null); _viewModel.SelectPrevItemCommand.Execute(null);
e.Handled = true; e.Handled = true;
} }
else if (e.Key == Key.PageDown)
{
_viewModel.SelectNextPageCommand.Execute(null);
e.Handled = true;
}
else if (e.Key == Key.PageUp)
{
_viewModel.SelectPrevPageCommand.Execute(null);
e.Handled = true;
}
} }
private void OnTextChanged(object sender, TextChangedEventArgs e) private void OnTextChanged(object sender, TextChangedEventArgs e)