aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ScintillaBase.h
diff options
context:
space:
mode:
authornyamatongwe <unknown>2005-03-25 05:08:20 +0000
committernyamatongwe <unknown>2005-03-25 05:08:20 +0000
commit66622bd04e7666e7b0556b17902dc683a22bc249 (patch)
treec11a0777465efddd66120e05cc73d7745d31ae50 /src/ScintillaBase.h
parent3ab465e5e5e653cc00298c2cca632deea54e0ff0 (diff)
downloadscintilla-mirror-66622bd04e7666e7b0556b17902dc683a22bc249.tar.gz
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.
Diffstat (limited to 'src/ScintillaBase.h')
-rw-r--r--src/ScintillaBase.h1
1 files changed, 1 insertions, 0 deletions
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;