aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <unknown>2003-01-10 11:15:01 +0000
committernyamatongwe <unknown>2003-01-10 11:15:01 +0000
commita5ff7b278c50fc280e388ed609e960766a00bedd (patch)
tree63c3a26f8158493ad13f196805e61b1abb8f9637 /src
parent6ee064f659389e6656e9b7e40bc308686a4fcf83 (diff)
downloadscintilla-mirror-a5ff7b278c50fc280e388ed609e960766a00bedd.tar.gz
Changed listbox field to pointer to allow use of platform-specific
subclass. Added new listbox initialisation parameters.
Diffstat (limited to 'src')
-rw-r--r--src/AutoComplete.h7
1 files changed, 4 insertions, 3 deletions
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 <neilh@scintilla.org>
+// Copyright 1998-2003 by Neil Hodgson <neilh@scintilla.org>
// 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_);