Browse Source

Add Ctrl+S shortcut for "search literal"

pull/254/head
Daniel Grunwald 14 years ago
parent
commit
e5609f6042
  1. 3
      ILSpy/SearchPane.cs
  2. 2
      ILSpy/TextView/DecompilerTextView.cs

3
ILSpy/SearchPane.cs

@ -171,6 +171,9 @@ namespace ICSharpCode.ILSpy @@ -171,6 +171,9 @@ namespace ICSharpCode.ILSpy
} else if (e.Key == Key.M && e.KeyboardDevice.Modifiers == ModifierKeys.Control) {
searchModeComboBox.SelectedIndex = SearchMode_Member;
e.Handled = true;
} else if (e.Key == Key.S && e.KeyboardDevice.Modifiers == ModifierKeys.Control) {
searchModeComboBox.SelectedIndex = SearchMode_Literal;
e.Handled = true;
}
}

2
ILSpy/TextView/DecompilerTextView.cs

@ -75,7 +75,7 @@ namespace ICSharpCode.ILSpy.TextView @@ -75,7 +75,7 @@ namespace ICSharpCode.ILSpy.TextView
readonly TextMarkerService textMarkerService;
[ImportMany(typeof(ITextEditorListener))]
IEnumerable<ITextEditorListener> textEditorListeners;
IEnumerable<ITextEditorListener> textEditorListeners = null;
#region Constructor
public DecompilerTextView()

Loading…
Cancel
Save