Author: lluis
Date: 2008-01-24 05:19:45 -0500 (Thu, 24 Jan 2008)
New Revision: 93780
Modified:
trunk/monodevelop/main/src/core/MonoDevelop.Projects.Gui/ChangeLog
trunk/monodevelop/main/src/core/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Completion/CompletionListWindow.cs
Log:
* MonoDevelop.Projects.Gui.Completion/CompletionListWindow.cs: Don't
reset the code completion list to top when data gathering is
completed. Fixes bug #350890.
Modified: trunk/monodevelop/main/src/core/MonoDevelop.Projects.Gui/ChangeLog
===================================================================
--- trunk/monodevelop/main/src/core/MonoDevelop.Projects.Gui/ChangeLog
2008-01-24 10:18:06 UTC (rev 93779)
+++ trunk/monodevelop/main/src/core/MonoDevelop.Projects.Gui/ChangeLog
2008-01-24 10:19:45 UTC (rev 93780)
@@ -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:
trunk/monodevelop/main/src/core/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Completion/CompletionListWindow.cs
===================================================================
---
trunk/monodevelop/main/src/core/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Completion/CompletionListWindow.cs
2008-01-24 10:18:06 UTC (rev 93779)
+++
trunk/monodevelop/main/src/core/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Completion/CompletionListWindow.cs
2008-01-24 10:19:45 UTC (rev 93780)
@@ -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