Author: lluis
Date: 2008-01-24 05:20:15 -0500 (Thu, 24 Jan 2008)
New Revision: 93781

Modified:
   branches/monodevelop/main/1.0/src/core/MonoDevelop.Projects.Gui/ChangeLog
   
branches/monodevelop/main/1.0/src/core/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Completion/CompletionListWindow.cs
Log:
2008-01-24  Lluis Sanchez Gual <[EMAIL PROTECTED]> 

        * MonoDevelop.Projects.Gui.Completion/CompletionListWindow.cs: Don't 
reset
          the code completion list to top when data gathering is completed. 
Fixes
          bug #350890.



Modified: 
branches/monodevelop/main/1.0/src/core/MonoDevelop.Projects.Gui/ChangeLog
===================================================================
--- branches/monodevelop/main/1.0/src/core/MonoDevelop.Projects.Gui/ChangeLog   
2008-01-24 10:19:45 UTC (rev 93780)
+++ branches/monodevelop/main/1.0/src/core/MonoDevelop.Projects.Gui/ChangeLog   
2008-01-24 10:20:15 UTC (rev 93781)
@@ -1,3 +1,9 @@
+2008-01-24  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
+
+       * MonoDevelop.Projects.Gui.Completion/CompletionListWindow.cs: Don't 
reset
+         the code completion list to top when data gathering is completed. 
Fixes
+         bug #350890.
+
 2008-01-10  Zach Lute <[EMAIL PROTECTED]>
 
        * MonoDevelop.Projects.Gui.Completion/ListWindow.cs: Scrollbar 
adjustment is

Modified: 
branches/monodevelop/main/1.0/src/core/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Completion/CompletionListWindow.cs
===================================================================
--- 
branches/monodevelop/main/1.0/src/core/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Completion/CompletionListWindow.cs
 2008-01-24 10:19:45 UTC (rev 93780)
+++ 
branches/monodevelop/main/1.0/src/core/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Completion/CompletionListWindow.cs
 2008-01-24 10:20:15 UTC (rev 93781)
@@ -389,10 +389,16 @@
                
                void OnCompletionDataChanged (object s, EventArgs args)
                {
+                       string last = null;
+                       if (Visible)
+                               last = CompleteWord;
+
                        HideFooter ();
                        if (Visible) {
                                Reset ();
                                FillList ();
+                               if (last != null)
+                                       SelectEntry (last);
                        }
                }
        }

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

Reply via email to