[Monodevelop-patches-list] r867 - in trunk/MonoDevelop/src: AddIns/DisplayBindings/SourceEditor/Gui Main/Base/Services/ParserService

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Tue Feb 10 23:49:48 EST 2004


Author: tberman
Date: 2004-02-10 23:49:47 -0500 (Tue, 10 Feb 2004)
New Revision: 867

Modified:
   trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorView.cs
   trunk/MonoDevelop/src/Main/Base/Services/ParserService/DefaultParserService.cs
Log:
revert symptomatic b. fix and hopefully commit a real one.

plus a build fix, duh sorry guys


Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorView.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorView.cs	2004-02-11 04:42:06 UTC (rev 866)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorView.cs	2004-02-11 04:49:47 UTC (rev 867)
@@ -69,9 +69,10 @@
 				//FIXME: ' ' needs to do extra parsing
 				case ' ':
 				case '.':
+					bool retVal = base.OnKeyPressEvent (ref evnt);
 					completionWindow = new CompletionWindow (this, ParentEditor.DisplayBinding.ContentName, new CodeCompletionDataProvider ());
 					completionWindow.ShowCompletionWindow ((char)key);
-					break;
+					return retVal;
 				case '(':
 					/*try {
 						InsightWindow insightWindow = new InsightWindow(this, ParentEditor.DisplayBinding.ContentName);
@@ -83,6 +84,7 @@
 					}
 					break;*/
 				case '[':
+					break;
 					/*try {
 						InsightWindow insightWindow = new InsightWindow(this, ParentEditor.DisplayBinding.ContentName);
 						

Modified: trunk/MonoDevelop/src/Main/Base/Services/ParserService/DefaultParserService.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Services/ParserService/DefaultParserService.cs	2004-02-11 04:42:06 UTC (rev 866)
+++ trunk/MonoDevelop/src/Main/Base/Services/ParserService/DefaultParserService.cs	2004-02-11 04:49:47 UTC (rev 867)
@@ -388,7 +388,7 @@
 		void ParserUpdateThread()
 		{
 			while (true) {
-				Thread.Sleep(100);
+				Thread.Sleep(1000);
 				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(100);
+								Thread.Sleep(300);
 								IParseInformation parseInformation = null;
 								lock (parsings) {
 									parseInformation = ParseFile(fileName, editable.Text);
@@ -418,7 +418,7 @@
 						Console.WriteLine(e.ToString());
 					} catch {}
 				}
-				Thread.Sleep(100);
+				Thread.Sleep(500);
 			}
 		}
 




More information about the Monodevelop-patches-list mailing list