root/src/editor/spell.h

/* [previous][next][first][last][top][bottom][index][help]  */

INCLUDED FROM


   1 #ifndef MC__EDIT_ASPELL_H
   2 #define MC__EDIT_ASPELL_H
   3 
   4 #include "lib/global.h"         /* include <glib.h> */
   5 
   6 /*** typedefs(not structures) and defined constants **********************************************/
   7 
   8 /*** enums ***************************************************************************************/
   9 
  10 /*** structures declarations (and typedefs of structures)*****************************************/
  11 
  12 /*** global variables defined in .c file *********************************************************/
  13 
  14 /*** declarations of public functions ************************************************************/
  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 (GArray * suggest, const char *word, const int word_size);
  20 void aspell_array_clean (GArray * array);
  21 unsigned int aspell_get_lang_list (GArray * 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                                      GArray * suggest);
  32 char *spell_dialog_lang_list_show (GArray * languages);
  33 
  34 /*** inline functions ****************************************************************************/
  35 
  36 #endif /* MC__EDIT_ASPELL_H */

/* [previous][next][first][last][top][bottom][index][help]  */