| 25 | #endif |
| 26 | |
| 27 | AutoComplete::AutoComplete() : |
| 28 | active(false), |
| 29 | separator(' '), |
| 30 | typesep('?'), |
| 31 | ignoreCase(false), |
| 32 | chooseSingle(false), |
| 33 | lb(0), |
| 34 | posStart(0), |
| 35 | startLen(0), |
| 36 | cancelAtStartPos(true), |
| 37 | autoHide(true), |
| 38 | dropRestOfWord(false), |
| 39 | ignoreCaseBehaviour(SC_CASEINSENSITIVEBEHAVIOUR_RESPECTCASE), |
| 40 | widthLBDefault(100), |
| 41 | heightLBDefault(100), |
| 42 | autoSort(SC_ORDER_PRESORTED) { |
| 43 | lb = ListBox::Allocate(); |
| 44 | stopChars[0] = '\0'; |
| 45 | fillUpChars[0] = '\0'; |
| 46 | } |
| 47 | |
| 48 | AutoComplete::~AutoComplete() { |
| 49 | if (lb) { |
nothing calls this directly
no outgoing calls
no test coverage detected