From 724d5c4de548f32b3424815278a301948fb0b370 Mon Sep 17 00:00:00 2001 From: Andreas Weizel Date: Tue, 23 Jul 2013 01:11:27 +0200 Subject: [PATCH] When "rename symbol" dialog is opened, contents of name TextBox are selected to quickly overwrite them by typing. --- .../Base/Project/Src/Editor/Dialogs/RenameSymbolDialog.xaml.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Main/Base/Project/Src/Editor/Dialogs/RenameSymbolDialog.xaml.cs b/src/Main/Base/Project/Src/Editor/Dialogs/RenameSymbolDialog.xaml.cs index 16a71c429e..580ea9ff5f 100644 --- a/src/Main/Base/Project/Src/Editor/Dialogs/RenameSymbolDialog.xaml.cs +++ b/src/Main/Base/Project/Src/Editor/Dialogs/RenameSymbolDialog.xaml.cs @@ -42,6 +42,7 @@ namespace ICSharpCode.SharpDevelop.Editor.Dialogs // Set focus into TextBox this.symbolNameTextBox.Focus(); + this.IsVisibleChanged += (sender, e) => this.symbolNameTextBox.SelectAll(); } public string OldSymbolName