mail-archives/monodevelop-patches-list/2004-March/000848.html

98 строки
4.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Monodevelop-patches-list] r1241 - in trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor: . CodeCompletion
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:monodevelop-patches-list%40lists.ximian.com?Subject=%5BMonodevelop-patches-list%5D%20r1241%20-%20in%20trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor%3A%20.%20CodeCompletion&In-Reply-To=">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="000847.html">
<LINK REL="Next" HREF="000849.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Monodevelop-patches-list] r1241 - in trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor: . CodeCompletion</H1>
<B>commit-watcher at mono-cvs.ximian.com</B>
<A HREF="mailto:monodevelop-patches-list%40lists.ximian.com?Subject=%5BMonodevelop-patches-list%5D%20r1241%20-%20in%20trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor%3A%20.%20CodeCompletion&In-Reply-To="
TITLE="[Monodevelop-patches-list] r1241 - in trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor: . CodeCompletion">commit-watcher at mono-cvs.ximian.com
</A><BR>
<I>Thu Mar 25 15:20:56 EST 2004</I>
<P><UL>
<LI>Previous message: <A HREF="000847.html">[Monodevelop-patches-list] r1240 - in trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor: . CodeCompletion
</A></li>
<LI>Next message: <A HREF="000849.html">[Monodevelop-patches-list] r1242 - in trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor: . Gui
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#848">[ date ]</a>
<a href="thread.html#848">[ thread ]</a>
<a href="subject.html#848">[ subject ]</a>
<a href="author.html#848">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Author: tberman
Date: 2004-03-25 15:20:56 -0500 (Thu, 25 Mar 2004)
New Revision: 1241
Modified:
trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/ChangeLog
trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/CodeCompletion/CompletionWindow.cs
Log:
tiny code completion bugfix wrt selection
Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/ChangeLog
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/ChangeLog 2004-03-25 20:16:28 UTC (rev 1240)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/ChangeLog 2004-03-25 20:20:56 UTC (rev 1241)
@@ -1,4 +1,9 @@
2004-03-25 Todd Berman &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/monodevelop-patches-list">tberman at sevenl.net</A>&gt;
+ * CodeCompletion/CompletionWindow.cs: only UnselectAll when you have
+ a better option, otherwise stay where you are.
+
+2004-03-25 Todd Berman &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/monodevelop-patches-list">tberman at sevenl.net</A>&gt;
+
* CodeCompletion/CompletionWindow.cs: add proper checking on when
to close the window based on backspacing.
Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/CodeCompletion/CompletionWindow.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/CodeCompletion/CompletionWindow.cs 2004-03-25 20:16:28 UTC (rev 1240)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/CodeCompletion/CompletionWindow.cs 2004-03-25 20:20:56 UTC (rev 1241)
@@ -128,8 +128,8 @@
}
}
- listView.Selection.UnselectAll ();
if (lastSelected != -1) {
+ listView.Selection.UnselectAll ();
TreePath path = new TreePath (&quot;&quot; + (lastSelected + 1));
listView.Selection.SelectPath (path);
listView.SetCursor (path, complete_column, false);
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="000847.html">[Monodevelop-patches-list] r1240 - in trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor: . CodeCompletion
</A></li>
<LI>Next message: <A HREF="000849.html">[Monodevelop-patches-list] r1242 - in trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor: . Gui
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#848">[ date ]</a>
<a href="thread.html#848">[ thread ]</a>
<a href="subject.html#848">[ subject ]</a>
<a href="author.html#848">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/monodevelop-patches-list">More information about the Monodevelop-patches-list
mailing list</a><br>
</body></html>