xref: /vim-8.2.3635/src/proto/spell.pro (revision 94688b8a)
1/* spell.c */
2int spell_check(win_T *wp, char_u *ptr, hlf_T *attrp, int *capcol, int docount);
3int spell_move_to(win_T *wp, int dir, int allwords, int curline, hlf_T *attrp);
4void spell_cat_line(char_u *buf, char_u *line, int maxlen);
5char_u *spell_enc(void);
6slang_T *slang_alloc(char_u *lang);
7void slang_free(slang_T *lp);
8void slang_clear(slang_T *lp);
9void slang_clear_sug(slang_T *lp);
10void count_common_word(slang_T *lp, char_u *word, int len, int count);
11int byte_in_str(char_u *str, int n);
12int init_syl_tab(slang_T *slang);
13char *did_set_spelllang(win_T *wp);
14int captype(char_u *word, char_u *end);
15void spell_delete_wordlist(void);
16void spell_free_all(void);
17void spell_reload(void);
18buf_T *open_spellbuf(void);
19void close_spellbuf(buf_T *buf);
20void clear_spell_chartab(spelltab_T *sp);
21void init_spell_chartab(void);
22int spell_iswordp_nmw(char_u *p, win_T *wp);
23int spell_casefold(char_u *str, int len, char_u *buf, int buflen);
24int spell_check_sps(void);
25void spell_suggest(int count);
26void ex_spellrepall(exarg_T *eap);
27void spell_suggest_list(garray_T *gap, char_u *word, int maxcount, int need_cap, int interactive);
28void onecap_copy(char_u *word, char_u *wcopy, int upper);
29char_u *eval_soundfold(char_u *word);
30void spell_soundfold(slang_T *slang, char_u *inword, int folded, char_u *res);
31void ex_spellinfo(exarg_T *eap);
32void ex_spelldump(exarg_T *eap);
33void spell_dump_compl(char_u *pat, int ic, int *dir, int dumpflags_arg);
34char_u *spell_to_word_end(char_u *start, win_T *win);
35int spell_word_start(int startcol);
36void spell_expand_check_cap(colnr_T col);
37int expand_spelling(linenr_T lnum, char_u *pat, char_u ***matchp);
38/* vim: set ft=c : */
39