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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 /* syntax.c */
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
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
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
4 void syn_stack_apply_changes __ARGS((buf_T *buf));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
5 void syntax_end_parsing __ARGS((linenr_T lnum));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
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
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
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
4ce0a7e4c6b3 updated for version 7.1-036
vimboss
parents: 1121
diff changeset
13 void reset_expand_highlight __ARGS((void));
4ce0a7e4c6b3 updated for version 7.1-036
vimboss
parents: 1121
diff changeset
14 void set_context_in_echohl_cmd __ARGS((expand_T *xp, char_u *arg));
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
15 void set_context_in_syntax_cmd __ARGS((expand_T *xp, char_u *arg));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
16 char_u *get_syntax_name __ARGS((expand_T *xp, int idx));
1504
1b55bbf5c580 updated for version 7.1-219
vimboss
parents: 1500
diff changeset
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
ea9f418ed072 updated for version 7.1-215
vimboss
parents: 1322
diff changeset
20 int syn_get_stack_item __ARGS((int i));
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
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
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
24 void init_highlight __ARGS((int both, int reset));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
25 int load_colors __ARGS((char_u *name));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
26 void do_highlight __ARGS((char_u *line, int forceit, int init));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
27 void free_highlight __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
28 void restore_cterm_colors __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
29 void set_normal_colors __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
30 char_u *hl_get_font_name __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
31 void hl_set_font_name __ARGS((char_u *font_name));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
32 void hl_set_bg_color_name __ARGS((char_u *name));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
33 void hl_set_fg_color_name __ARGS((char_u *name));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
34 void clear_hl_tables __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
35 int hl_combine_attr __ARGS((int char_attr, int prim_attr));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
36 attrentry_T *syn_gui_attr2entry __ARGS((int attr));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
37 int syn_attr2attr __ARGS((int attr));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
38 attrentry_T *syn_term_attr2entry __ARGS((int attr));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
39 attrentry_T *syn_cterm_attr2entry __ARGS((int attr));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
40 char_u *highlight_has_attr __ARGS((int id, int flag, int modec));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
41 char_u *highlight_color __ARGS((int id, char_u *what, int modec));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
42 long_u highlight_gui_color_rgb __ARGS((int id, int fg));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
43 int syn_name2id __ARGS((char_u *name));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
44 int highlight_exists __ARGS((char_u *name));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
45 char_u *syn_id2name __ARGS((int id));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
46 int syn_namen2id __ARGS((char_u *linep, int len));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
47 int syn_check_group __ARGS((char_u *pp, int len));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
48 int syn_id2attr __ARGS((int hl_id));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
49 int syn_id2colors __ARGS((int hl_id, guicolor_T *fgp, guicolor_T *bgp));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
50 int syn_get_final_id __ARGS((int hl_id));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
51 void highlight_gui_started __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
52 int highlight_changed __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
53 void set_context_in_highlight_cmd __ARGS((expand_T *xp, char_u *arg));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
54 char_u *get_highlight_name __ARGS((expand_T *xp, int idx));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
55 void free_highlight_fonts __ARGS((void));
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 /* vim: set ft=c : */