[Monodevelop-patches-list] r868 - trunk/MonoDevelop/src/Main/Base/Services/ParserService
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Wed Feb 11 00:01:58 EST 2004
Author: tberman
Date: 2004-02-11 00:01:58 -0500 (Wed, 11 Feb 2004)
New Revision: 868
Modified:
trunk/MonoDevelop/src/Main/Base/Services/ParserService/DefaultParserService.cs
Log:
both seem to help
Modified: trunk/MonoDevelop/src/Main/Base/Services/ParserService/DefaultParserService.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Services/ParserService/DefaultParserService.cs 2004-02-11 04:49:47 UTC (rev 867)
+++ trunk/MonoDevelop/src/Main/Base/Services/ParserService/DefaultParserService.cs 2004-02-11 05:01:58 UTC (rev 868)
@@ -388,7 +388,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;
@@ -402,7 +402,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);
@@ -418,7 +418,7 @@
Console.WriteLine(e.ToString());
} catch {}
}
- Thread.Sleep(500);
+ Thread.Sleep(100);
}
}
More information about the Monodevelop-patches-list
mailing list