Author: mkrueger
Date: 2007-09-18 05:17:09 -0400 (Tue, 18 Sep 2007)
New Revision: 85957

Modified:
   trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/ChangeLog
   
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Completion/CodeCompletionData.cs
   
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Completion/ListWindow.cs
Log:
* MonoDevelop.Projects.Gui.Completion/CodeCompletionData.cs,
  MonoDevelop.Projects.Gui.Completion/ListWindow.cs: Added some
  changes for bug 325438.

Modified: trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/ChangeLog
===================================================================
--- trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/ChangeLog       
2007-09-18 09:16:47 UTC (rev 85956)
+++ trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/ChangeLog       
2007-09-18 09:17:09 UTC (rev 85957)
@@ -1,3 +1,9 @@
+2007-09-18  Mike Krüger <[EMAIL PROTECTED]> 
+
+       * MonoDevelop.Projects.Gui.Completion/CodeCompletionData.cs,
+         MonoDevelop.Projects.Gui.Completion/ListWindow.cs: Added some changes
+         for bug 325438.
+
 2007-09-16  Eric Butler <[EMAIL PROTECTED]>
 
        * Base.glade,

Modified: 
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Completion/CodeCompletionData.cs
===================================================================
--- 
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Completion/CodeCompletionData.cs
       2007-09-18 09:16:47 UTC (rev 85956)
+++ 
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Completion/CodeCompletionData.cs
       2007-09-18 09:17:09 UTC (rev 85957)
@@ -167,13 +167,17 @@
                        this.image = image;
                }
                
-               public CodeCompletionData (string s, string image, string 
description)
+               public CodeCompletionData (string s, string image, string 
description) : this (s, image, description, s)
                {
+               }
+               
+               public CodeCompletionData (string s, string image, string 
description, string completionString)
+               {
                        description = pango_description = description; 
                        documentation = String.Empty;
                        text = s;
-                       completionString = s;
-                       this.image = image;
+                       this.completionString = completionString;
+                       this.image = image; 
                }
                
                public CodeCompletionData (IClass c, Ambience_ ambience, bool 
allowInstrinsicNames, ITypeNameResolver resolver)

Modified: 
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Completion/ListWindow.cs
===================================================================
--- 
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Completion/ListWindow.cs
       2007-09-18 09:16:47 UTC (rev 85956)
+++ 
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Completion/ListWindow.cs
       2007-09-18 09:17:09 UTC (rev 85957)
@@ -182,6 +182,8 @@
                                case Gdk.Key.Escape:
                                        return KeyAction.CloseWindow | 
KeyAction.Ignore;
                                        
+                               case Gdk.Key.KP_Divide:
+                               case Gdk.Key.slash:
                                case Gdk.Key.Home:
                                case Gdk.Key.End:
                                        return KeyAction.CloseWindow | 
KeyAction.Process;
@@ -202,8 +204,7 @@
                                word.Insert (curPos++, c);
                                UpdateWordSelection ();
                                return KeyAction.Process;
-                       }
-                       else if ((System.Char.IsPunctuation (c) || c == ' ') && 
!list.SelectionDisabled) {
+                       } else if ((System.Char.IsPunctuation (c) || c == ' ') 
&& !list.SelectionDisabled) {
                                return KeyAction.Complete | KeyAction.Process | 
KeyAction.CloseWindow;
                        }
                        

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to