[Monodevelop-patches-list] r429 - trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Sat Jan 10 19:03:27 EST 2004


Author: pedroas
Date: 2004-01-10 19:03:27 -0500 (Sat, 10 Jan 2004)
New Revision: 429

Modified:
   trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/TextEditorControlBase.cs
Log:
Fixed the stupid numlock bug (thanks Ben for the report ;-)


Modified: trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/TextEditorControlBase.cs
===================================================================
--- trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/TextEditorControlBase.cs	2004-01-10 22:34:42 UTC (rev 428)
+++ trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/TextEditorControlBase.cs	2004-01-11 00:03:27 UTC (rev 429)
@@ -486,7 +486,7 @@
 		internal IEditAction GetEditAction(Gdk.EventKey eventKey)
 		{
 			uint state = eventKey.state;
-			state &= 1111111101u; // Filter CapsLock key (bit 2)
+			state &= 1101u; // Filter all but shift, ctrl & alt
 			Hashtable h = (Hashtable)states[state];
 			if (h == null) {
 				return null;




More information about the Monodevelop-patches-list mailing list