From 66622bd04e7666e7b0556b17902dc683a22bc249 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/ScintillaBase.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ScintillaBase.h') diff --git a/src/ScintillaBase.h b/src/ScintillaBase.h index 362231148..631e3e05d 100644 --- a/src/ScintillaBase.h +++ b/src/ScintillaBase.h @@ -38,6 +38,7 @@ protected: int listType; ///< 0 is an autocomplete list SString listSelected; ///< Receives listbox selected string + int maxListWidth; /// Maximum width of list, in average character widths #ifdef SCI_LEXER int lexLanguage; -- cgit v1.2.3