aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/AutoComplete.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2000-08-21 12:28:18 +0000
committernyamatongwe <unknown>2000-08-21 12:28:18 +0000
commit6ed3892e53bbad8ac5af2bfacecb773337a501f3 (patch)
tree5000e0ba3f796393861c9f619bceaa09084be285 /src/AutoComplete.cxx
parent74537dd24ba7943e79652b06f4b752be2035bcea (diff)
downloadscintilla-mirror-6ed3892e53bbad8ac5af2bfacecb773337a501f3.tar.gz
Merging patches from Ferda and Jan.
Autocompletion flags for ignoring case and automatically choosing single items. WM_PAINT handling with passed HDC. Events in Scintilla.iface.
Diffstat (limited to 'src/AutoComplete.cxx')
-rw-r--r--src/AutoComplete.cxx18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/AutoComplete.cxx b/src/AutoComplete.cxx
index 6866364c1..5bc50d1ef 100644
--- a/src/AutoComplete.cxx
+++ b/src/AutoComplete.cxx
@@ -10,14 +10,16 @@
#include "AutoComplete.h"
-AutoComplete::AutoComplete() {
- active = false;
- posStart = 0;
- strcpy(stopChars, "");
- strcpy(fillUpChars, "");
- separator = ' ';
- ignoreCase = false;
- cancelAtStartPos = true;
+AutoComplete::AutoComplete() :
+ active(false),
+ separator(' '),
+ ignoreCase(false),
+ chooseSingle(false),
+ posStart(0),
+ startLen(0),
+ cancelAtStartPos(true) {
+ stopChars[0] = '\0';
+ fillUpChars[0] = '\0';
}
AutoComplete::~AutoComplete() {