From a5ff7b278c50fc280e388ed609e960766a00bedd Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 10 Jan 2003 11:15:01 +0000 Subject: Changed listbox field to pointer to allow use of platform-specific subclass. Added new listbox initialisation parameters. --- src/AutoComplete.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/AutoComplete.h b/src/AutoComplete.h index 7983e3611..981fb44c0 100644 --- a/src/AutoComplete.h +++ b/src/AutoComplete.h @@ -2,7 +2,7 @@ /** @file AutoComplete.h ** Defines the auto completion list box. **/ -// Copyright 1998-2002 by Neil Hodgson +// Copyright 1998-2003 by Neil Hodgson // The License.txt file describes the conditions under which this software may be distributed. #ifndef AUTOCOMPLETE_H @@ -20,7 +20,7 @@ class AutoComplete { public: bool ignoreCase; bool chooseSingle; - ListBox lb; + ListBox *lb; int posStart; int startLen; /// Should autocompletion be canceled if editor's currentPos <= startPos? @@ -35,7 +35,8 @@ public: bool Active(); /// Display the auto completion list positioned to be near a character position - void Start(Window &parent, int ctrlID, int position, int startLen_); + void Start(Window &parent, int ctrlID, int position, + int startLen_, int lineHeight, bool unicodeMode); /// The stop chars are characters which, when typed, cause the auto completion list to disappear void SetStopChars(const char *stopChars_); -- cgit v1.2.3