Browse Source

Allow Ctrl+A in ExceptionBox

pull/612/head
turbanoff 11 years ago
parent
commit
4da4791daa
  1. 9
      src/Main/SharpDevelop/Logging/ExceptionBox.cs

9
src/Main/SharpDevelop/Logging/ExceptionBox.cs

@ -241,6 +241,14 @@ namespace ICSharpCode.SharpDevelop.Logging @@ -241,6 +241,14 @@ namespace ICSharpCode.SharpDevelop.Logging
}
}
void ExceptionTextBoxKeyDown(object sender, KeyEventArgs e)
{
if (e.KeyData == (Keys.Control | Keys.A)) {
exceptionTextBox.SelectAll();
e.Handled = e.SuppressKeyPress = true;
}
}
[SuppressMessage("Microsoft.Globalization", "CA1303")]
void InitializeComponent()
{
@ -327,6 +335,7 @@ namespace ICSharpCode.SharpDevelop.Logging @@ -327,6 +335,7 @@ namespace ICSharpCode.SharpDevelop.Logging
this.exceptionTextBox.Size = new System.Drawing.Size(448, 184);
this.exceptionTextBox.TabIndex = 1;
this.exceptionTextBox.Text = "textBoxExceptionText";
this.exceptionTextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ExceptionTextBoxKeyDown);
//
// pictureBox
//

Loading…
Cancel
Save