Mercurial > vim
annotate src/proto/highlight.pro @ 28070:2e92f35e97f6
Added tag v8.2.4559 for changeset 236b80af98334768ece6d034ea84c6fcdf4ed332
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 13 Mar 2022 17:00:04 +0100 |
parents | 18cafa092e8d |
children | a74398c432a4 |
rev | line source |
---|---|
17389
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
1 /* highlight.c */ |
17401
5462bb963075
patch 8.1.1699: highlight_ga can be local instead of global
Bram Moolenaar <Bram@vim.org>
parents:
17389
diff
changeset
|
2 int highlight_num_groups(void); |
5462bb963075
patch 8.1.1699: highlight_ga can be local instead of global
Bram Moolenaar <Bram@vim.org>
parents:
17389
diff
changeset
|
3 char_u *highlight_group_name(int id); |
5462bb963075
patch 8.1.1699: highlight_ga can be local instead of global
Bram Moolenaar <Bram@vim.org>
parents:
17389
diff
changeset
|
4 int highlight_link_id(int id); |
17389
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
5 void init_highlight(int both, int reset); |
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
6 int load_colors(char_u *name); |
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
7 int lookup_color(int idx, int foreground, int *boldp); |
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
8 void do_highlight(char_u *line, int forceit, int init); |
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
9 void free_highlight(void); |
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
10 void restore_cterm_colors(void); |
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
11 void set_normal_colors(void); |
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
12 char_u *hl_get_font_name(void); |
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
13 void hl_set_font_name(char_u *font_name); |
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
14 void hl_set_bg_color_name(char_u *name); |
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
15 void hl_set_fg_color_name(char_u *name); |
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
16 guicolor_T color_name2handle(char_u *name); |
26057
92c424550367
patch 8.2.3562: cannot add color names
Bram Moolenaar <Bram@vim.org>
parents:
21054
diff
changeset
|
17 guicolor_T gui_get_color_cmn(char_u *name); |
92c424550367
patch 8.2.3562: cannot add color names
Bram Moolenaar <Bram@vim.org>
parents:
21054
diff
changeset
|
18 guicolor_T gui_get_rgb_color_cmn(int r, int g, int b); |
17389
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
19 int get_cterm_attr_idx(int attr, int fg, int bg); |
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
20 int get_tgc_attr_idx(int attr, guicolor_T fg, guicolor_T bg); |
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
21 int get_gui_attr_idx(int attr, guicolor_T fg, guicolor_T bg); |
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
22 void clear_hl_tables(void); |
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
23 int hl_combine_attr(int char_attr, int prim_attr); |
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
24 attrentry_T *syn_gui_attr2entry(int attr); |
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
25 int syn_attr2attr(int attr); |
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
26 attrentry_T *syn_term_attr2entry(int attr); |
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
27 attrentry_T *syn_cterm_attr2entry(int attr); |
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
28 char_u *highlight_has_attr(int id, int flag, int modec); |
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
29 char_u *highlight_color(int id, char_u *what, int modec); |
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
30 long_u highlight_gui_color_rgb(int id, int fg); |
17401
5462bb963075
patch 8.1.1699: highlight_ga can be local instead of global
Bram Moolenaar <Bram@vim.org>
parents:
17389
diff
changeset
|
31 int syn_list_header(int did_header, int outlen, int id); |
17389
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
32 int syn_name2id(char_u *name); |
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
33 int syn_name2attr(char_u *name); |
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
34 int highlight_exists(char_u *name); |
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
35 char_u *syn_id2name(int id); |
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
36 int syn_namen2id(char_u *linep, int len); |
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
37 int syn_check_group(char_u *pp, int len); |
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
38 int syn_id2attr(int hl_id); |
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
39 int syn_id2colors(int hl_id, guicolor_T *fgp, guicolor_T *bgp); |
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
40 void syn_id2cterm_bg(int hl_id, int *fgp, int *bgp); |
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
41 int syn_get_final_id(int hl_id); |
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
42 void highlight_gui_started(void); |
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
43 int highlight_changed(void); |
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
44 void set_context_in_highlight_cmd(expand_T *xp, char_u *arg); |
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
45 char_u *get_highlight_name(expand_T *xp, int idx); |
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
46 char_u *get_highlight_name_ext(expand_T *xp, int idx, int skip_cleared); |
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
47 void free_highlight_fonts(void); |
26089
c544eacaf066
patch 8.2.3578: manipulating highlighting is complicated
Bram Moolenaar <Bram@vim.org>
parents:
26057
diff
changeset
|
48 void f_hlget(typval_T *argvars, typval_T *rettv); |
c544eacaf066
patch 8.2.3578: manipulating highlighting is complicated
Bram Moolenaar <Bram@vim.org>
parents:
26057
diff
changeset
|
49 void f_hlset(typval_T *argvars, typval_T *rettv); |
17389
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
50 /* vim: set ft=c : */ |