Mercurial > vim
annotate src/proto/syntax.pro @ 5351:923738744a60 v7.4.028
updated for version 7.4.028
Problem: Equivalence classes are not working for multi-byte characters.
Solution: Copy the rules from the old to the new regexp engine. Add a test
to check both engines.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 19 Sep 2013 17:00:20 +0200 |
parents | 220bdea4f579 |
children | 21b0a39d13ed |
rev | line source |
---|---|
7 | 1 /* syntax.c */ |
1121 | 2 void syntax_start __ARGS((win_T *wp, linenr_T lnum)); |
2250
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
1504
diff
changeset
|
3 void syn_stack_free_all __ARGS((synblock_T *block)); |
1121 | 4 void syn_stack_apply_changes __ARGS((buf_T *buf)); |
5 void syntax_end_parsing __ARGS((linenr_T lnum)); | |
6 int syntax_check_changed __ARGS((linenr_T lnum)); | |
2375
a96dd77ce213
For conceal mode: when two different syntax items follow each other, show the
Bram Moolenaar <bram@vim.org>
parents:
2253
diff
changeset
|
7 int get_syntax_attr __ARGS((colnr_T col, int *can_spell, int keep_state)); |
2250
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
1504
diff
changeset
|
8 void syntax_clear __ARGS((synblock_T *block)); |
2253
12ebd6f6dfce
Fixed: after ":ownsyntax perl" and ":e" syntax was cleared in other window.
Bram Moolenaar <bram@vim.org>
parents:
2250
diff
changeset
|
9 void reset_synblock __ARGS((win_T *wp)); |
1121 | 10 void ex_syntax __ARGS((exarg_T *eap)); |
2250
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
1504
diff
changeset
|
11 void ex_ownsyntax __ARGS((exarg_T *eap)); |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
1504
diff
changeset
|
12 int syntax_present __ARGS((win_T *win)); |
1322 | 13 void reset_expand_highlight __ARGS((void)); |
14 void set_context_in_echohl_cmd __ARGS((expand_T *xp, char_u *arg)); | |
1121 | 15 void set_context_in_syntax_cmd __ARGS((expand_T *xp, char_u *arg)); |
16 char_u *get_syntax_name __ARGS((expand_T *xp, int idx)); | |
1504 | 17 int syn_get_id __ARGS((win_T *wp, long lnum, colnr_T col, int trans, int *spellp, int keep_state)); |
2392
0371401d9d33
Give each syntax item a sequence number, so that we know when it starts and
Bram Moolenaar <bram@vim.org>
parents:
2375
diff
changeset
|
18 int get_syntax_info __ARGS((int *seqnrp)); |
2250
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
1504
diff
changeset
|
19 int syn_get_sub_char __ARGS((void)); |
1500 | 20 int syn_get_stack_item __ARGS((int i)); |
1121 | 21 int syn_get_foldlevel __ARGS((win_T *wp, long lnum)); |
4764
f824cb97eb92
updated for version 7.3.1129
Bram Moolenaar <bram@vim.org>
parents:
2392
diff
changeset
|
22 void ex_syntime __ARGS((exarg_T *eap)); |
4803
220bdea4f579
updated for version 7.3.1148
Bram Moolenaar <bram@vim.org>
parents:
4764
diff
changeset
|
23 char_u *get_syntime_arg __ARGS((expand_T *xp, int idx)); |
1121 | 24 void init_highlight __ARGS((int both, int reset)); |
25 int load_colors __ARGS((char_u *name)); | |
26 void do_highlight __ARGS((char_u *line, int forceit, int init)); | |
27 void free_highlight __ARGS((void)); | |
28 void restore_cterm_colors __ARGS((void)); | |
29 void set_normal_colors __ARGS((void)); | |
30 char_u *hl_get_font_name __ARGS((void)); | |
31 void hl_set_font_name __ARGS((char_u *font_name)); | |
32 void hl_set_bg_color_name __ARGS((char_u *name)); | |
33 void hl_set_fg_color_name __ARGS((char_u *name)); | |
34 void clear_hl_tables __ARGS((void)); | |
35 int hl_combine_attr __ARGS((int char_attr, int prim_attr)); | |
36 attrentry_T *syn_gui_attr2entry __ARGS((int attr)); | |
37 int syn_attr2attr __ARGS((int attr)); | |
38 attrentry_T *syn_term_attr2entry __ARGS((int attr)); | |
39 attrentry_T *syn_cterm_attr2entry __ARGS((int attr)); | |
40 char_u *highlight_has_attr __ARGS((int id, int flag, int modec)); | |
41 char_u *highlight_color __ARGS((int id, char_u *what, int modec)); | |
42 long_u highlight_gui_color_rgb __ARGS((int id, int fg)); | |
43 int syn_name2id __ARGS((char_u *name)); | |
44 int highlight_exists __ARGS((char_u *name)); | |
45 char_u *syn_id2name __ARGS((int id)); | |
46 int syn_namen2id __ARGS((char_u *linep, int len)); | |
47 int syn_check_group __ARGS((char_u *pp, int len)); | |
48 int syn_id2attr __ARGS((int hl_id)); | |
49 int syn_id2colors __ARGS((int hl_id, guicolor_T *fgp, guicolor_T *bgp)); | |
50 int syn_get_final_id __ARGS((int hl_id)); | |
51 void highlight_gui_started __ARGS((void)); | |
52 int highlight_changed __ARGS((void)); | |
53 void set_context_in_highlight_cmd __ARGS((expand_T *xp, char_u *arg)); | |
54 char_u *get_highlight_name __ARGS((expand_T *xp, int idx)); | |
55 void free_highlight_fonts __ARGS((void)); | |
7 | 56 /* vim: set ft=c : */ |