aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/AutoComplete.h
diff options
context:
space:
mode:
authornyamatongwe <unknown>2013-04-01 14:25:49 +1100
committernyamatongwe <unknown>2013-04-01 14:25:49 +1100
commitaef08781447174ac2f4687d5594ea8a27a5358df (patch)
tree759734edfdfc7bcf6b6c53d697f410616a422326 /src/AutoComplete.h
parent00e1601aafac485ac758ad7325b5e9b03b487584 (diff)
downloadscintilla-mirror-aef08781447174ac2f4687d5594ea8a27a5358df.tar.gz
Feature [#981]. Added autocompletion order property to allow list to be ordered
according to container preference but still allowing selection by typing. From Alpha.
Diffstat (limited to 'src/AutoComplete.h')
-rw-r--r--src/AutoComplete.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/AutoComplete.h b/src/AutoComplete.h
index 4d27e6add..9977196a2 100644
--- a/src/AutoComplete.h
+++ b/src/AutoComplete.h
@@ -21,6 +21,7 @@ class AutoComplete {
char separator;
char typesep; // Type seperator
enum { maxItemLen=1000 };
+ std::vector<int> sortMatrix;
public:
@@ -36,6 +37,11 @@ public:
unsigned int ignoreCaseBehaviour;
int widthLBDefault;
int heightLBDefault;
+ /** SC_ORDER_PRESORTED: Assume the list is presorted; selection will fail if it is not alphabetical<br />
+ * SC_ORDER_PERFORMSORT: Sort the list alphabetically; start up performance cost for sorting<br />
+ * SC_ORDER_CUSTOM: Handle non-alphabetical entries; start up performance cost for generating a sorted lookup table
+ */
+ int autoSort;
AutoComplete();
~AutoComplete();