[Monodevelop-patches-list] r857 - trunk/MonoDevelop/src/Main/Base/Services/ParserService

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Mon Feb 9 23:05:17 EST 2004


Author: tberman
Date: 2004-02-09 23:05:17 -0500 (Mon, 09 Feb 2004)
New Revision: 857

Modified:
   trunk/MonoDevelop/src/Main/Base/Services/ParserService/DefaultParserService.cs
Log:
fix b. issue


Modified: trunk/MonoDevelop/src/Main/Base/Services/ParserService/DefaultParserService.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Services/ParserService/DefaultParserService.cs	2004-02-10 02:09:23 UTC (rev 856)
+++ trunk/MonoDevelop/src/Main/Base/Services/ParserService/DefaultParserService.cs	2004-02-10 04:05:17 UTC (rev 857)
@@ -385,7 +385,7 @@
 		void ParserUpdateThread()
 		{
 			while (true) {
-				Thread.Sleep(1000);
+				Thread.Sleep(100);
 				try {
 					if (WorkbenchSingleton.Workbench.ActiveWorkbenchWindow != null && WorkbenchSingleton.Workbench.ActiveWorkbenchWindow.ViewContent != null) {
 						IEditable editable = WorkbenchSingleton.Workbench.ActiveWorkbenchWindow.ViewContent as IEditable;
@@ -399,7 +399,7 @@
 								fileName = WorkbenchSingleton.Workbench.ActiveWorkbenchWindow.ViewContent.ContentName;
 							}
 							if (!(fileName == null || fileName.Length == 0)) {
-								Thread.Sleep(300);
+								Thread.Sleep(100);
 								IParseInformation parseInformation = null;
 								lock (parsings) {
 									parseInformation = ParseFile(fileName, editable.Text);
@@ -415,7 +415,7 @@
 						Console.WriteLine(e.ToString());
 					} catch {}
 				}
-				Thread.Sleep(500);
+				Thread.Sleep(100);
 			}
 		}
 




More information about the Monodevelop-patches-list mailing list