annotate src/proto/syntax.pro @ 4541:80170d61a85c v7.3.1018

updated for version 7.3.1018 Problem: New regexp engine wastes memory. Solution: Allocate prog with actual number of states, not estimated maximum number of sates.
author Bram Moolenaar <bram@vim.org>
date Sat, 25 May 2013 21:18:34 +0200
parents 0371401d9d33
children f824cb97eb92
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));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
22 void init_highlight __ARGS((int both, int reset));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
23 int load_colors __ARGS((char_u *name));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
24 void do_highlight __ARGS((char_u *line, int forceit, int init));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
25 void free_highlight __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
26 void restore_cterm_colors __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
27 void set_normal_colors __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
28 char_u *hl_get_font_name __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
29 void hl_set_font_name __ARGS((char_u *font_name));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
30 void hl_set_bg_color_name __ARGS((char_u *name));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
31 void hl_set_fg_color_name __ARGS((char_u *name));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
32 void clear_hl_tables __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
33 int hl_combine_attr __ARGS((int char_attr, int prim_attr));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
34 attrentry_T *syn_gui_attr2entry __ARGS((int attr));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
35 int syn_attr2attr __ARGS((int attr));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
36 attrentry_T *syn_term_attr2entry __ARGS((int attr));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
37 attrentry_T *syn_cterm_attr2entry __ARGS((int attr));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
38 char_u *highlight_has_attr __ARGS((int id, int flag, int modec));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
39 char_u *highlight_color __ARGS((int id, char_u *what, int modec));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
40 long_u highlight_gui_color_rgb __ARGS((int id, int fg));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
41 int syn_name2id __ARGS((char_u *name));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
42 int highlight_exists __ARGS((char_u *name));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
43 char_u *syn_id2name __ARGS((int id));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
44 int syn_namen2id __ARGS((char_u *linep, int len));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
45 int syn_check_group __ARGS((char_u *pp, int len));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
46 int syn_id2attr __ARGS((int hl_id));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
47 int syn_id2colors __ARGS((int hl_id, guicolor_T *fgp, guicolor_T *bgp));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
48 int syn_get_final_id __ARGS((int hl_id));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
49 void highlight_gui_started __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
50 int highlight_changed __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
51 void set_context_in_highlight_cmd __ARGS((expand_T *xp, char_u *arg));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
52 char_u *get_highlight_name __ARGS((expand_T *xp, int idx));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
53 void free_highlight_fonts __ARGS((void));
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 /* vim: set ft=c : */