[Monodevelop-patches-list] r659 - trunk/MonoDevelop/src/AddIns/DisplayBindings/TextEditor/Commands

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Mon Jan 26 01:27:24 EST 2004


Author: tberman
Date: 2004-01-26 01:27:24 -0500 (Mon, 26 Jan 2004)
New Revision: 659

Modified:
   trunk/MonoDevelop/src/AddIns/DisplayBindings/TextEditor/Commands/SearchCommands.cs
Log:
bring to front if you are around and the menuitem gets clicked on
*good citizen*


Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/TextEditor/Commands/SearchCommands.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/TextEditor/Commands/SearchCommands.cs	2004-01-26 06:15:11 UTC (rev 658)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/TextEditor/Commands/SearchCommands.cs	2004-01-26 06:27:24 UTC (rev 659)
@@ -50,6 +50,7 @@
 			SetSearchPattern();
 			if (SearchReplaceManager.ReplaceDialog != null) {
 				SearchReplaceManager.ReplaceDialog.SetSearchPattern(SearchReplaceManager.SearchOptions.SearchPattern);
+				SearchReplaceManager.ReplaceDialog.Present ();
 			} else {
 				ReplaceDialog rd = new ReplaceDialog(false);
 				rd.ShowAll();
@@ -73,6 +74,7 @@
 			
 			if (SearchReplaceManager.ReplaceDialog != null) {
 				SearchReplaceManager.ReplaceDialog.SetSearchPattern(SearchReplaceManager.SearchOptions.SearchPattern);
+				SearchReplaceManager.ReplaceDialog.Present ();
 			} else {
 				ReplaceDialog rd = new ReplaceDialog(true);
 				rd.ShowAll();




More information about the Monodevelop-patches-list mailing list