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

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Sun Jan 25 03:16:43 EST 2004


Author: tberman
Date: 2004-01-25 03:16:43 -0500 (Sun, 25 Jan 2004)
New Revision: 647

Modified:
   trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/CompletionWindow/CompletionWindow.cs
Log:
now trying to semi-intelligently figure out which side of the code complete window to place the tooltip.

need to make it so the code complete window is the same size as 5 nodes, get rid of the ugly half line nonsense.

actually going to sleep now.


Modified: trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/CompletionWindow/CompletionWindow.cs
===================================================================
--- trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/CompletionWindow/CompletionWindow.cs	2004-01-25 07:39:50 UTC (rev 646)
+++ trunk/MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/CompletionWindow/CompletionWindow.cs	2004-01-25 08:16:43 UTC (rev 647)
@@ -322,6 +322,9 @@
 				}
 				
 				declarationviewwindow.ShowAll ();
+				if (listView.Screen.Width <= horiz + declarationviewwindow.GdkWindow.FrameExtents.Width) {
+					horiz = listpos_x - declarationviewwindow.GdkWindow.FrameExtents.Width - 10;
+				}
 				declarationviewwindow.Move (horiz, vert);
 			}
 		}




More information about the Monodevelop-patches-list mailing list