From 46175e05655f472f48f62721bfbe37fa9e758d1a Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 25 Mar 2005 05:08:20 +0000 Subject: Patch from Blair McGlashan for autocompletion on Windows to * Set maximum width of list * set maximum height of list * better calculate width * use ellipsis when text is truncated to fit window * use popup window so it can extend past parent window * disallow resizing too small * draw to bottom edge when resized so last item not full line high * improve time to display by by 90% Minor tweaks by me to fix warnings, layout etc. --- src/AutoComplete.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/AutoComplete.h') diff --git a/src/AutoComplete.h b/src/AutoComplete.h index ee5a2de4c..10577ca38 100644 --- a/src/AutoComplete.h +++ b/src/AutoComplete.h @@ -35,7 +35,7 @@ public: bool Active(); /// Display the auto completion list positioned to be near a character position - void Start(Window &parent, int ctrlID, int position, + void Start(Window &parent, int ctrlID, int position, Point location, int startLen_, int lineHeight, bool unicodeMode); /// The stop chars are characters which, when typed, cause the auto completion list to disappear -- cgit v1.2.3