From 6ed3892e53bbad8ac5af2bfacecb773337a501f3 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 21 Aug 2000 12:28:18 +0000 Subject: 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. --- src/AutoComplete.cxx | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'src/AutoComplete.cxx') 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() { -- cgit v1.2.3