summaryrefslogtreecommitdiff
path: root/pico/edef.h
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2015-11-15 17:56:28 -0700
committerEduardo Chappa <chappa@washington.edu>2015-11-15 17:56:28 -0700
commitb3ad27e8991fdbd64fd4db58c0c89538b5f02959 (patch)
treedb96448acc54c9893d17970c4dfffbcc95279eec /pico/edef.h
parentabf5b4cfbff3150ad3340679b80dc1ff5adf6298 (diff)
downloadalpine-b3ad27e8991fdbd64fd4db58c0c89538b5f02959.tar.xz
* PC-Alpine: New configuration option "Aspell Dictionaries" allows a
user to choose the dictionary used to spell, in case the user communicates in more than one language. Examples of values for the variable are "en_US" or "de_DE", etc. Only the first 10 dictionaries are offered.
Diffstat (limited to 'pico/edef.h')
-rw-r--r--pico/edef.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/pico/edef.h b/pico/edef.h
index 3cc7fd3e..5d0c1155 100644
--- a/pico/edef.h
+++ b/pico/edef.h
@@ -56,6 +56,10 @@ char *display_character_set = NULL;
char *keyboard_character_set = NULL;
UCS *glo_wordseps = NULL; /* points to word separators if set */
char *glo_wordseps_orig = NULL;
+#ifdef _WINDOWS
+char **dictionary = NULL; /* speller dictionary */
+int chosen_dict = -1; /* the dictionary chosen */
+#endif /* _WINDOWS */
/* uninitialized global definitions */
int currow; /* Cursor row */
@@ -111,6 +115,10 @@ extern char *display_character_set;
extern char *keyboard_character_set;
extern UCS *glo_wordseps;
extern char *glo_wordseps_orig;
+#ifdef _WINDOWS
+extern char **dictionary;
+extern int chosen_dict;
+#endif /* _WINDOWS */
/* initialized global external declarations */
extern int currow; /* Cursor row */
extern int curcol; /* Cursor column */