in src/StructuredLogViewer/MainWindow.xaml.cs [657:696]
private void Window_KeyUp(object sender, KeyEventArgs e)
{
if (e.Key == Key.F5)
{
Reload();
}
else if (e.Key == Key.F6 && e.KeyboardDevice.Modifiers == ModifierKeys.Shift)
{
RebuildProjectOrSolution();
}
else if (e.Key == Key.F6)
{
OpenProjectOrSolution();
}
else if (e.Key == Key.O && e.KeyboardDevice.Modifiers == ModifierKeys.Control)
{
OpenLogFile();
}
else if (e.Key == Key.F && e.KeyboardDevice.Modifiers == ModifierKeys.Control)
{
FocusSearch();
}
else if (e.Key == Key.C && e.KeyboardDevice.Modifiers == ModifierKeys.Control)
{
var content = mainContent.Content as BuildProgress;
if (content != null)
{
Clipboard.SetText(content.MSBuildCommandLine);
}
}
else if (e.Key == Key.S && e.KeyboardDevice.Modifiers == ModifierKeys.Control)
{
SaveAs();
}
else if (e.Key == Key.D0 && e.KeyboardDevice.Modifiers == ModifierKeys.Control)
{
UpdateZoomLevel(1.0);
e.Handled = true;
}
}