[Monodevelop-patches-list] r633 - trunk/MonoDevelop/src/AddIns/DisplayBindings/TextEditor/Gui/Editor

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Sat Jan 24 17:35:05 EST 2004


Author: tberman
Date: 2004-01-24 17:35:05 -0500 (Sat, 24 Jan 2004)
New Revision: 633

Modified:
   trunk/MonoDevelop/src/AddIns/DisplayBindings/TextEditor/Gui/Editor/SharpDevelopTextAreaControl.cs
Log:
reverting that async stuff for right now, lets add that autopopup on/off option and the ctrl+space keybinding.


Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/TextEditor/Gui/Editor/SharpDevelopTextAreaControl.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/TextEditor/Gui/Editor/SharpDevelopTextAreaControl.cs	2004-01-24 20:14:40 UTC (rev 632)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/TextEditor/Gui/Editor/SharpDevelopTextAreaControl.cs	2004-01-24 22:35:05 UTC (rev 633)
@@ -32,8 +32,6 @@
 		readonly static string contextMenuPath       = "/SharpDevelop/ViewContent/DefaultTextEditor/ContextMenu";
 		readonly static string editActionsPath       = "/AddIns/DefaultTextEditor/EditActions";
 		readonly static string formatingStrategyPath = "/AddIns/DefaultTextEditor/Formater";
-		uint timeout = 0;
-		char currentchar;
 				
 		public SharpDevelopTextAreaControl()
 		{
@@ -88,17 +86,7 @@
 		InsightWindow insightWindow = null;
 		bool HandleKeyPress(char ch)
 		{
-			if (timeout != 0) {
-				Gtk.Timeout.Remove(timeout);
-			}
-			timeout = Gtk.Timeout.Add(700, new Gtk.Function(HandleKeyPressImpl));
-			currentchar = ch;
-			return false;
-		}
-		
-		bool HandleKeyPressImpl() {
 			CompletionWindow completionWindow;
-			char ch = currentchar;
 			
 			string fileName = FileName;
 			




More information about the Monodevelop-patches-list mailing list