1 #ifndef MC__EDIT_ASPELL_H
2 #define MC__EDIT_ASPELL_H
3
4 #include "lib/global.h"
5
6
7
8
9
10
11
12
13
14
15
16 void aspell_init (void);
17 void aspell_clean (void);
18 gboolean aspell_check (const char *word, const int word_size);
19 unsigned int aspell_suggest (GPtrArray * suggest, const char *word, const int word_size);
20 void aspell_array_clean (GPtrArray * array);
21 unsigned int aspell_get_lang_list (GPtrArray * lang_list);
22 const char *aspell_get_lang (void);
23 gboolean aspell_set_lang (const char *lang);
24 gboolean aspell_add_to_dict (const char *word, const int word_size);
25
26 int edit_suggest_current_word (WEdit * edit);
27 void edit_spellcheck_file (WEdit * edit);
28 void edit_set_spell_lang (void);
29
30 int spell_dialog_spell_suggest_show (WEdit * edit, const char *word, char **new_word,
31 const GPtrArray * suggest);
32 const char *spell_dialog_lang_list_show (const GPtrArray * languages);
33
34
35
36 #endif