/*
* ion/mod_query/main.c
*
- * Copyright (c) Tuomo Valkonen 1999-2006.
+ * Copyright (c) Tuomo Valkonen 1999-2007.
*
* Ion is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by
ModQueryConfig mod_query_config={
250,
- TRUE
+ TRUE,
+ FALSE
};
* (default: true). \\
* \var{autoshowcompl_delay} & (integer) auto-show-completions delay
* in milliseconds (default: 250). \\
+ * \var{caseicompl} & (boolean) Turn some completions case-insensitive
+ * (default: false). \\
* \end{tabularx}
*/
EXTL_EXPORT
ModQueryConfig *c=&mod_query_config;
extl_table_gets_b(tab, "autoshowcompl", &c->autoshowcompl);
+ extl_table_gets_b(tab, "caseicompl", &c->caseicompl);
if(extl_table_gets_i(tab, "autoshowcompl_delay",
&c->autoshowcompl_delay)){
* Get module configuration. For more information see
* \fnref{mod_query.set}.
*/
+EXTL_SAFE
EXTL_EXPORT
ExtlTab mod_query_get()
{
ExtlTab tab=extl_create_table();
extl_table_sets_b(tab, "autoshowcompl", c->autoshowcompl);
+ extl_table_sets_b(tab, "caseicompl", c->caseicompl);
extl_table_sets_i(tab, "autoshowcompl_delay", c->autoshowcompl_delay);
return tab;