[Monodevelop-patches-list] r950 - in trunk/MonoDevelop: . src/AddIns/DisplayBindings/SourceEditor/Search

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Thu Feb 19 16:06:34 EST 2004


Author: tberman
Date: 2004-02-19 16:06:34 -0500 (Thu, 19 Feb 2004)
New Revision: 950

Modified:
   trunk/MonoDevelop/FIND_PROBLEMS
   trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Search/SearchReplaceManager.cs
Log:
fixed last known hydra bug, fucking thing is half dead...


Modified: trunk/MonoDevelop/FIND_PROBLEMS
===================================================================
--- trunk/MonoDevelop/FIND_PROBLEMS	2004-02-19 21:01:40 UTC (rev 949)
+++ trunk/MonoDevelop/FIND_PROBLEMS	2004-02-19 21:06:34 UTC (rev 950)
@@ -1,2 +0,0 @@
-* replace when doing a case insensitive match with differing cases, the match
-  is found, but not replaced.

Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Search/SearchReplaceManager.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Search/SearchReplaceManager.cs	2004-02-19 21:01:40 UTC (rev 949)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Search/SearchReplaceManager.cs	2004-02-19 21:06:34 UTC (rev 950)
@@ -74,7 +74,7 @@
 			if (WorkbenchSingleton.Workbench.ActiveWorkbenchWindow != null) {
 				SourceEditor textarea = (SourceEditor) ((SourceEditorDisplayBindingWrapper)WorkbenchSingleton.Workbench.ActiveWorkbenchWindow.ViewContent).Control;
 				string text = textarea.Buffer.GetSelectedText ();
-				if (text == SearchOptions.SearchPattern) {
+				if (text.ToLower () == SearchOptions.SearchPattern.ToLower ()) {
 					int offset = textarea.Buffer.GetLowerSelectionBounds ();
 					
 					((IClipboardHandler)textarea.Buffer).Delete (null, null);




More information about the Monodevelop-patches-list mailing list