Bram Moolenaar | 2d3c0a9 | 2005-03-21 08:27:48 +0000 | [diff] [blame] | 1 | /* spell.c */ |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 2 | int spell_check(win_T *wp, char_u *ptr, hlf_T *attrp, int *capcol, int docount); |
| 3 | int spell_move_to(win_T *wp, int dir, int allwords, int curline, hlf_T *attrp); |
| 4 | void spell_cat_line(char_u *buf, char_u *line, int maxlen); |
Bram Moolenaar | 9ccfebd | 2016-07-19 16:39:08 +0200 | [diff] [blame] | 5 | char_u *spell_enc(void); |
| 6 | slang_T *slang_alloc(char_u *lang); |
| 7 | void slang_free(slang_T *lp); |
| 8 | void slang_clear(slang_T *lp); |
| 9 | void slang_clear_sug(slang_T *lp); |
| 10 | void count_common_word(slang_T *lp, char_u *word, int len, int count); |
| 11 | int byte_in_str(char_u *str, int n); |
| 12 | int init_syl_tab(slang_T *slang); |
Bram Moolenaar | f9e3e09 | 2019-01-13 23:38:42 +0100 | [diff] [blame] | 13 | char *did_set_spelllang(win_T *wp); |
Bram Moolenaar | 9ccfebd | 2016-07-19 16:39:08 +0200 | [diff] [blame] | 14 | int captype(char_u *word, char_u *end); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 15 | void spell_delete_wordlist(void); |
| 16 | void spell_free_all(void); |
| 17 | void spell_reload(void); |
Bram Moolenaar | 9ccfebd | 2016-07-19 16:39:08 +0200 | [diff] [blame] | 18 | buf_T *open_spellbuf(void); |
| 19 | void close_spellbuf(buf_T *buf); |
| 20 | void clear_spell_chartab(spelltab_T *sp); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 21 | void init_spell_chartab(void); |
Bram Moolenaar | 9ccfebd | 2016-07-19 16:39:08 +0200 | [diff] [blame] | 22 | int spell_casefold(char_u *str, int len, char_u *buf, int buflen); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 23 | int spell_check_sps(void); |
| 24 | void spell_suggest(int count); |
| 25 | void ex_spellrepall(exarg_T *eap); |
| 26 | void spell_suggest_list(garray_T *gap, char_u *word, int maxcount, int need_cap, int interactive); |
Bram Moolenaar | 9ccfebd | 2016-07-19 16:39:08 +0200 | [diff] [blame] | 27 | void onecap_copy(char_u *word, char_u *wcopy, int upper); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 28 | char_u *eval_soundfold(char_u *word); |
Bram Moolenaar | 9ccfebd | 2016-07-19 16:39:08 +0200 | [diff] [blame] | 29 | void spell_soundfold(slang_T *slang, char_u *inword, int folded, char_u *res); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 30 | void ex_spellinfo(exarg_T *eap); |
| 31 | void ex_spelldump(exarg_T *eap); |
| 32 | void spell_dump_compl(char_u *pat, int ic, int *dir, int dumpflags_arg); |
| 33 | char_u *spell_to_word_end(char_u *start, win_T *win); |
| 34 | int spell_word_start(int startcol); |
| 35 | void spell_expand_check_cap(colnr_T col); |
| 36 | int expand_spelling(linenr_T lnum, char_u *pat, char_u ***matchp); |
Bram Moolenaar | e677df8 | 2019-09-02 22:31:11 +0200 | [diff] [blame^] | 37 | int valid_spellang(char_u *val); |
| 38 | int valid_spellfile(char_u *val); |
| 39 | char *did_set_spell_option(int is_spellfile); |
| 40 | char *compile_cap_prog(synblock_T *synblock); |
Bram Moolenaar | 2d3c0a9 | 2005-03-21 08:27:48 +0000 | [diff] [blame] | 41 | /* vim: set ft=c : */ |