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

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


Author: tberman
Date: 2004-02-19 16:01:40 -0500 (Thu, 19 Feb 2004)
New Revision: 949

Modified:
   trunk/MonoDevelop/FIND_PROBLEMS
   trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Search/DocumentIterator/ProvidedDocumentInformation.cs
Log:
fixed hydra issue


Modified: trunk/MonoDevelop/FIND_PROBLEMS
===================================================================
--- trunk/MonoDevelop/FIND_PROBLEMS	2004-02-19 20:13:18 UTC (rev 948)
+++ trunk/MonoDevelop/FIND_PROBLEMS	2004-02-19 21:01:40 UTC (rev 949)
@@ -1,4 +1,2 @@
 * replace when doing a case insensitive match with differing cases, the match
   is found, but not replaced.
-* replace all seems to always use the direct buffer which makes it save after
-  each successful replace, making undo impossible. It shouldnt be doing this.

Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Search/DocumentIterator/ProvidedDocumentInformation.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Search/DocumentIterator/ProvidedDocumentInformation.cs	2004-02-19 20:13:18 UTC (rev 948)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Search/DocumentIterator/ProvidedDocumentInformation.cs	2004-02-19 21:01:40 UTC (rev 949)
@@ -77,13 +77,13 @@
 		
 		public void SaveBuffer()
 		{
-			//if (document != null) {
+			if (document != null) {
 				
-			//} else {
+			} else {
 				StreamWriter streamWriter = File.CreateText(this.fileName);
 				streamWriter.Write(textBuffer.GetText(0, textBuffer.Length));
 				streamWriter.Close();
-			//}
+			}
 		}
 		
 		/*public IDocument CreateDocument()




More information about the Monodevelop-patches-list mailing list