annotate src/proto/spell.pro @ 32515:d1794b2317b8 v9.0.1589

patch 9.0.1589: filetype test contains too many special characters Commit: https://github.com/vim/vim/commit/b140c114f641ac4cd4fb04e7bdec031295264a8d Author: Bram Moolenaar <Bram@vim.org> Date: Mon May 29 17:06:05 2023 +0100 patch 9.0.1589: filetype test contains too many special characters Problem: Filetype test contains too many special characters. Solution: Use Vim9 syntax for a few things.
author Bram Moolenaar <Bram@vim.org>
date Mon, 29 May 2023 18:15:03 +0200
parents 0632606a2530
children 448aef880252
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
224
920a993902e8 updated for version 7.0062
vimboss
parents:
diff changeset
1 /* spell.c */
7668
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 5519
diff changeset
2 int spell_check(win_T *wp, char_u *ptr, hlf_T *attrp, int *capcol, int docount);
18172
6e53d83e021d patch 8.1.2081: the spell.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 17940
diff changeset
3 int match_checkcompoundpattern(char_u *ptr, int wlen, garray_T *gap);
6e53d83e021d patch 8.1.2081: the spell.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 17940
diff changeset
4 int can_compound(slang_T *slang, char_u *word, char_u *flags);
6e53d83e021d patch 8.1.2081: the spell.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 17940
diff changeset
5 int match_compoundrule(slang_T *slang, char_u *compflags);
6e53d83e021d patch 8.1.2081: the spell.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 17940
diff changeset
6 int valid_word_prefix(int totprefcnt, int arridx, int flags, char_u *word, slang_T *slang, int cond_req);
6e53d83e021d patch 8.1.2081: the spell.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 17940
diff changeset
7 int spell_valid_case(int wordflags, int treeflags);
30509
087c42245022 patch 9.0.0590: after exiting Insert mode spelling not checked in next line
Bram Moolenaar <Bram@vim.org>
parents: 25567
diff changeset
8 int spell_check_window(win_T *wp);
7668
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 5519
diff changeset
9 int spell_move_to(win_T *wp, int dir, int allwords, int curline, hlf_T *attrp);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 5519
diff changeset
10 void spell_cat_line(char_u *buf, char_u *line, int maxlen);
9583
b0c7061d6439 commit https://github.com/vim/vim/commit/9ccfebddc3ff2a3c2853cf706fd4c26f639bf381
Christian Brabandt <cb@256bit.org>
parents: 7668
diff changeset
11 char_u *spell_enc(void);
b0c7061d6439 commit https://github.com/vim/vim/commit/9ccfebddc3ff2a3c2853cf706fd4c26f639bf381
Christian Brabandt <cb@256bit.org>
parents: 7668
diff changeset
12 slang_T *slang_alloc(char_u *lang);
b0c7061d6439 commit https://github.com/vim/vim/commit/9ccfebddc3ff2a3c2853cf706fd4c26f639bf381
Christian Brabandt <cb@256bit.org>
parents: 7668
diff changeset
13 void slang_free(slang_T *lp);
b0c7061d6439 commit https://github.com/vim/vim/commit/9ccfebddc3ff2a3c2853cf706fd4c26f639bf381
Christian Brabandt <cb@256bit.org>
parents: 7668
diff changeset
14 void slang_clear(slang_T *lp);
b0c7061d6439 commit https://github.com/vim/vim/commit/9ccfebddc3ff2a3c2853cf706fd4c26f639bf381
Christian Brabandt <cb@256bit.org>
parents: 7668
diff changeset
15 void slang_clear_sug(slang_T *lp);
b0c7061d6439 commit https://github.com/vim/vim/commit/9ccfebddc3ff2a3c2853cf706fd4c26f639bf381
Christian Brabandt <cb@256bit.org>
parents: 7668
diff changeset
16 void count_common_word(slang_T *lp, char_u *word, int len, int count);
b0c7061d6439 commit https://github.com/vim/vim/commit/9ccfebddc3ff2a3c2853cf706fd4c26f639bf381
Christian Brabandt <cb@256bit.org>
parents: 7668
diff changeset
17 int byte_in_str(char_u *str, int n);
b0c7061d6439 commit https://github.com/vim/vim/commit/9ccfebddc3ff2a3c2853cf706fd4c26f639bf381
Christian Brabandt <cb@256bit.org>
parents: 7668
diff changeset
18 int init_syl_tab(slang_T *slang);
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 30509
diff changeset
19 char *parse_spelllang(win_T *wp);
9583
b0c7061d6439 commit https://github.com/vim/vim/commit/9ccfebddc3ff2a3c2853cf706fd4c26f639bf381
Christian Brabandt <cb@256bit.org>
parents: 7668
diff changeset
20 int captype(char_u *word, char_u *end);
7668
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 5519
diff changeset
21 void spell_delete_wordlist(void);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 5519
diff changeset
22 void spell_free_all(void);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 5519
diff changeset
23 void spell_reload(void);
9583
b0c7061d6439 commit https://github.com/vim/vim/commit/9ccfebddc3ff2a3c2853cf706fd4c26f639bf381
Christian Brabandt <cb@256bit.org>
parents: 7668
diff changeset
24 buf_T *open_spellbuf(void);
b0c7061d6439 commit https://github.com/vim/vim/commit/9ccfebddc3ff2a3c2853cf706fd4c26f639bf381
Christian Brabandt <cb@256bit.org>
parents: 7668
diff changeset
25 void close_spellbuf(buf_T *buf);
b0c7061d6439 commit https://github.com/vim/vim/commit/9ccfebddc3ff2a3c2853cf706fd4c26f639bf381
Christian Brabandt <cb@256bit.org>
parents: 7668
diff changeset
26 void clear_spell_chartab(spelltab_T *sp);
7668
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 5519
diff changeset
27 void init_spell_chartab(void);
18172
6e53d83e021d patch 8.1.2081: the spell.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 17940
diff changeset
28 int spell_iswordp(char_u *p, win_T *wp);
6e53d83e021d patch 8.1.2081: the spell.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 17940
diff changeset
29 int spell_iswordp_nmw(char_u *p, win_T *wp);
24872
59cfa23bd9eb patch 8.2.2974: Greek spell checking uses wrong case folding
Bram Moolenaar <Bram@vim.org>
parents: 20760
diff changeset
30 int spell_casefold(win_T *wp, char_u *str, int len, char_u *buf, int buflen);
32493
0632606a2530 patch 9.0.1578: SpellCap highlight not always updated when needed
Bram Moolenaar <Bram@vim.org>
parents: 31996
diff changeset
31 int check_need_cap(win_T *wp, linenr_T lnum, colnr_T col);
7668
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 5519
diff changeset
32 void ex_spellrepall(exarg_T *eap);
9583
b0c7061d6439 commit https://github.com/vim/vim/commit/9ccfebddc3ff2a3c2853cf706fd4c26f639bf381
Christian Brabandt <cb@256bit.org>
parents: 7668
diff changeset
33 void onecap_copy(char_u *word, char_u *wcopy, int upper);
18172
6e53d83e021d patch 8.1.2081: the spell.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 17940
diff changeset
34 void allcap_copy(char_u *word, char_u *wcopy);
6e53d83e021d patch 8.1.2081: the spell.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 17940
diff changeset
35 int nofold_len(char_u *fword, int flen, char_u *word);
6e53d83e021d patch 8.1.2081: the spell.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 17940
diff changeset
36 void make_case_word(char_u *fword, char_u *cword, int flags);
7668
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 5519
diff changeset
37 char_u *eval_soundfold(char_u *word);
9583
b0c7061d6439 commit https://github.com/vim/vim/commit/9ccfebddc3ff2a3c2853cf706fd4c26f639bf381
Christian Brabandt <cb@256bit.org>
parents: 7668
diff changeset
38 void spell_soundfold(slang_T *slang, char_u *inword, int folded, char_u *res);
7668
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 5519
diff changeset
39 void ex_spellinfo(exarg_T *eap);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 5519
diff changeset
40 void ex_spelldump(exarg_T *eap);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 5519
diff changeset
41 void spell_dump_compl(char_u *pat, int ic, int *dir, int dumpflags_arg);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 5519
diff changeset
42 char_u *spell_to_word_end(char_u *start, win_T *win);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 5519
diff changeset
43 int spell_word_start(int startcol);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 5519
diff changeset
44 void spell_expand_check_cap(colnr_T col);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 5519
diff changeset
45 int expand_spelling(linenr_T lnum, char_u *pat, char_u ***matchp);
20760
813b9a7064a4 patch 8.2.0932: missspelling spelllang
Bram Moolenaar <Bram@vim.org>
parents: 18172
diff changeset
46 int valid_spelllang(char_u *val);
17940
079e10a49ea1 patch 8.1.1966: some code in options.c fits better elsewhere
Bram Moolenaar <Bram@vim.org>
parents: 17789
diff changeset
47 int valid_spellfile(char_u *val);
079e10a49ea1 patch 8.1.1966: some code in options.c fits better elsewhere
Bram Moolenaar <Bram@vim.org>
parents: 17789
diff changeset
48 char *did_set_spell_option(int is_spellfile);
079e10a49ea1 patch 8.1.1966: some code in options.c fits better elsewhere
Bram Moolenaar <Bram@vim.org>
parents: 17789
diff changeset
49 char *compile_cap_prog(synblock_T *synblock);
224
920a993902e8 updated for version 7.0062
vimboss
parents:
diff changeset
50 /* vim: set ft=c : */