Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Enable "Cancel" button on Find References dialog.

  • Loading branch information...
commit 89f96a89c8a01824e5a5ca219432c170561fdd32 1 parent a1c129a
@dgrunwald dgrunwald authored
View
4 src/Main/Base/Project/Src/Services/RefactoringService/FindReferencesAndRenameHelper.cs
@@ -524,7 +524,7 @@ public static IDocument GetDocument(IClass c)
public static void RunFindReferences(IMember member)
{
string memberName = member.DeclaringType.Name + "." + member.Name;
- using (AsynchronousWaitDialog monitor = AsynchronousWaitDialog.ShowWaitDialog("${res:SharpDevelop.Refactoring.FindReferences}"))
+ using (AsynchronousWaitDialog monitor = AsynchronousWaitDialog.ShowWaitDialog("${res:SharpDevelop.Refactoring.FindReferences}", true))
{
FindReferencesAndRenameHelper.ShowAsSearchResults(StringParser.Parse("${res:SharpDevelop.Refactoring.ReferencesTo}",
new string[,] {{ "Name", memberName }}),
@@ -534,7 +534,7 @@ public static void RunFindReferences(IMember member)
public static void RunFindReferences(IClass c)
{
- using (AsynchronousWaitDialog monitor = AsynchronousWaitDialog.ShowWaitDialog("${res:SharpDevelop.Refactoring.FindReferences}"))
+ using (AsynchronousWaitDialog monitor = AsynchronousWaitDialog.ShowWaitDialog("${res:SharpDevelop.Refactoring.FindReferences}", true))
{
FindReferencesAndRenameHelper.ShowAsSearchResults(
StringParser.Parse("${res:SharpDevelop.Refactoring.ReferencesTo}",
Please sign in to comment.
Something went wrong with that request. Please try again.