Browse Source

When "rename symbol" dialog is opened, contents of name TextBox are selected to quickly overwrite them by typing.

newNRILSpyDebugger
Andreas Weizel 13 years ago
parent
commit
724d5c4de5
  1. 1
      src/Main/Base/Project/Src/Editor/Dialogs/RenameSymbolDialog.xaml.cs

1
src/Main/Base/Project/Src/Editor/Dialogs/RenameSymbolDialog.xaml.cs

@ -42,6 +42,7 @@ namespace ICSharpCode.SharpDevelop.Editor.Dialogs @@ -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

Loading…
Cancel
Save