| /vim-8.2.3635/src/ |
| H A D | message.c | 48 int attr; member 129 int attr, in msg_attr_keep() argument 627 int attr; in emsg_core() local 966 int attr) in add_msg_hist() argument 993 p->attr = attr; in add_msg_hist() 1614 attr == 0 ? HL_ATTR(HLF_8) : attr); in msg_outtrans_len_attr() 1692 int attr; in msg_outtrans_special() local 1915 attr = 0; in msg_prt_line() 2163 int attr, in msg_puts_display() argument 2490 int attr, in store_sb_text() argument [all …]
|
| H A D | screen.c | 146 int attr) in screen_fill_end() argument 157 c1, c2, attr); in screen_fill_end() 163 c1, c2, attr); in screen_fill_end() 186 attr = hl_combine_attr(wcr_attr, attr); in win_draw_end() 216 c2, c2, attr); in win_draw_end() 219 c1, c2, attr); in win_draw_end() 226 c1, c2, attr); in win_draw_end() 938 int attr; in win_redr_status_matches() local 1288 attr = 0; in win_redr_custom() 2343 int attr) in screen_fill() argument [all …]
|
| H A D | highlight.c | 759 int attr; in highlight_set_termgui_attr() local 764 attr = 0; in highlight_set_termgui_attr() 2837 attr -= ATTR_OFF; in syn_gui_attr2entry() 2872 attr -= ATTR_OFF; in syn_term_attr2entry() 2881 attr -= ATTR_OFF; in syn_cterm_attr2entry() 3014 int attr; in highlight_has_attr() local 3031 if (attr & flag) in highlight_has_attr() 3513 int attr; in syn_id2attr() local 3530 return attr; in syn_id2attr() 3737 int attr; in highlight_changed() local [all …]
|
| H A D | gui_xmebw.c | 310 XPMATTRIBUTES_TYPE attr; in set_pixmap() local 379 attr.colorsymbols = color; in set_pixmap() 380 attr.numsymbols = XtNumber(color); in set_pixmap() 390 &mask, &attr); in set_pixmap() 392 XpmFreeAttributes(&attr); in set_pixmap() 414 attr.alloc_color = alloc_color; in set_pixmap() 419 attr.colorsymbols = color; in set_pixmap() 423 XpmFreeAttributes(&attr); in set_pixmap() 457 attr.colorsymbols = color; in set_pixmap() 459 attr.color_key = XPM_MONO; in set_pixmap() [all …]
|
| H A D | usercmd.c | 716 char_u *attr, in uc_scan_attr() argument 734 if (STRNICMP(attr, "bang", len) == 0) in uc_scan_attr() 736 else if (STRNICMP(attr, "buffer", len) == 0) in uc_scan_attr() 742 else if (STRNICMP(attr, "bar", len) == 0) in uc_scan_attr() 754 if (attr[i] == '=') in uc_scan_attr() 756 val = &attr[i + 1]; in uc_scan_attr() 763 if (STRNICMP(attr, "nargs", attrlen) == 0) in uc_scan_attr() 851 else if (STRNICMP(attr, "addr", attrlen) == 0) in uc_scan_attr() 866 char_u ch = attr[len]; in uc_scan_attr() 867 attr[len] = '\0'; in uc_scan_attr() [all …]
|
| H A D | xpm_w32.c | 38 XpmAttributes attr; in LoadXpmImage() local 42 attr.valuemask = 0; in LoadXpmImage() 43 res = XpmReadFileToImage(&hdc, filename, &img, &shp, &attr); in LoadXpmImage()
|
| H A D | gui_xim.c | 723 PangoAttribute *attr; in translate_pango_attributes() local 726 attr = pango_attr_iterator_get(iter, PANGO_ATTR_UNDERLINE); in translate_pango_attributes() 727 if (attr != NULL && ((PangoAttrInt *)attr)->value in translate_pango_attributes() 731 attr = pango_attr_iterator_get(iter, PANGO_ATTR_WEIGHT); in translate_pango_attributes() 732 if (attr != NULL && ((PangoAttrInt *)attr)->value >= (int)PANGO_WEIGHT_BOLD) in translate_pango_attributes() 735 attr = pango_attr_iterator_get(iter, PANGO_ATTR_STYLE); in translate_pango_attributes() 736 if (attr != NULL && ((PangoAttrInt *)attr)->value in translate_pango_attributes() 740 attr = pango_attr_iterator_get(iter, PANGO_ATTR_BACKGROUND); in translate_pango_attributes() 741 if (attr != NULL) in translate_pango_attributes() 743 const PangoColor *color = &((PangoAttrColor *)attr)->color; in translate_pango_attributes()
|
| H A D | popupmenu.c | 406 int attr; in pum_redraw() local 450 attr = (idx == pum_selected) ? attr_select : attr_norm; in pum_redraw() 457 screen_putchar(' ', row, pum_col + 1, attr); in pum_redraw() 462 screen_putchar(' ', row, pum_col - 1, attr); in pum_redraw() 530 row, col - size + 1, attr); in pum_redraw() 558 screen_puts_len(st, size, row, col, attr); in pum_redraw() 572 attr); in pum_redraw() 605 col + 1, ' ', ' ', attr); in pum_redraw() 612 ' ', ' ', attr); in pum_redraw() 621 ' ', attr); in pum_redraw() [all …]
|
| H A D | syntax.c | 1708 int attr = 0; in get_syntax_attr() local 1750 return attr; in get_syntax_attr() 3992 int attr; in syn_list_one() local 4027 did_header, attr); in syn_list_one() 4074 msg_puts_attr("grouphere", attr); in syn_list_one() 4076 msg_puts_attr("groupthere", attr); in syn_list_one() 4091 msg_puts_attr("links to", attr); in syn_list_one() 4184 int attr) in put_pattern() argument 4196 msg_puts_attr("matchgroup", attr); in put_pattern() 4206 msg_puts_attr(s, attr); in put_pattern() [all …]
|
| H A D | terminal.c | 2826 int attr = 0; in vtermAttr2hl() local 2829 attr |= HL_BOLD; in vtermAttr2hl() 2833 attr |= HL_ITALIC; in vtermAttr2hl() 2837 attr |= HL_INVERSE; in vtermAttr2hl() 2838 return attr; in vtermAttr2hl() 5088 attr = 0; in read_dump_file() 5091 attr = attr * 10 + (c - '0'); in read_dump_file() 5698 int attr; in f_term_getattr() local 5704 int attr; in f_term_getattr() member 5724 attr = syn_attr2attr(attr); in f_term_getattr() [all …]
|
| H A D | if_perl.xs | 853 int attr) /* highlighting attributes */ in msg_split() argument 861 msg_attr(token, attr); in msg_split() 865 msg_attr(token, attr); in msg_split() 1477 int attr; member 1485 s->attr = 0; in PerlIOVim_pushed() 1487 s->attr = syn_name2attr((char_u *)SvPV_nolen(arg)); in PerlIOVim_pushed() 1500 msg_split((char_u *)str, s->attr); in PerlIOVim_write() 1570 int attr; 1575 attr = 0; 1577 attr = syn_name2attr((char_u *)hl); [all …]
|
| H A D | drawscreen.c | 417 int attr; in win_redr_status() local 452 fillchar = fillchar_status(&attr, wp); in win_redr_status() 528 screen_puts(p, row, wp->w_wincol, attr); in win_redr_status() 535 - 1 + wp->w_wincol), attr); in win_redr_status() 548 fillchar = fillchar_status(&attr, wp); in win_redr_status() 550 fillchar = fillchar_vsep(&attr); in win_redr_status() 635 int attr; in win_redr_ruler() local 715 attr = 0; in win_redr_ruler() 794 fillchar, fillchar, attr); in win_redr_ruler() 1048 int attr) in copy_text_attr() argument [all …]
|
| H A D | gui_beval.c | 788 PangoAttribute *attr; in set_printable_label_text() local 859 attr = pango_attr_foreground_new( in set_printable_label_text() 869 attr = pango_attr_foreground_new( in set_printable_label_text() 872 attr->start_index = pdest - buf; in set_printable_label_text() 873 attr->end_index = pdest - buf + outlen; in set_printable_label_text() 874 pango_attr_list_insert(attr_list, attr); in set_printable_label_text()
|
| /vim-8.2.3635/src/proto/ |
| H A D | message.pro | 4 int msg_attr(char *s, int attr); 5 int msg_attr_keep(char *s, int attr, int keep); 9 void msg_source(int attr); 18 char *msg_trunc_attr(char *s, int force, int attr); 24 void set_keep_msg(char_u *s, int attr); 29 void msg_putchar_attr(int c, int attr); 34 int msg_outtrans_attr(char_u *str, int attr); 36 char_u *msg_outtrans_one(char_u *p, int attr); 37 int msg_outtrans_len_attr(char_u *msgstr, int len, int attr); 46 void msg_outtrans_long_attr(char_u *longstr, int attr); [all …]
|
| H A D | highlight.pro | 22 int get_cterm_attr_idx(int attr, int fg, int bg); 23 int get_tgc_attr_idx(int attr, guicolor_T fg, guicolor_T bg); 24 int get_gui_attr_idx(int attr, guicolor_T fg, guicolor_T bg); 27 attrentry_T *syn_gui_attr2entry(int attr); 28 int syn_attr2attr(int attr); 29 attrentry_T *syn_term_attr2entry(int attr); 30 attrentry_T *syn_cterm_attr2entry(int attr);
|
| H A D | screen.pro | 17 void screen_putchar(int c, int row, int col, int attr); 19 void screen_puts(char_u *text, int row, int col, int attr); 20 void screen_puts_len(char_u *text, int textlen, int row, int col, int attr); 27 void space_to_screenline(int off, int attr); 28 void screen_fill(int start_row, int end_row, int start_col, int end_col, int c1, int c2, int attr); 50 int fillchar_status(int *attr, win_T *wp); 51 int fillchar_vsep(int *attr);
|
| /vim-8.2.3635/src/libvterm/src/ |
| H A D | pen.c | 122 if(type != vterm_get_attr_type(attr)) { in setpenattr() 124 attr, vterm_get_attr_type(attr), type); in setpenattr() 129 (*state->callbacks->setpenattr)(attr, val, state->cbdata); in setpenattr() 132 static void setpenattr_bool(VTermState *state, VTermAttr attr, int boolean) in setpenattr_bool() argument 136 setpenattr(state, attr, VTERM_VALUETYPE_BOOL, &val); in setpenattr_bool() 139 static void setpenattr_int(VTermState *state, VTermAttr attr, int number) in setpenattr_int() argument 143 setpenattr(state, attr, VTERM_VALUETYPE_INT, &val); in setpenattr_int() 150 setpenattr(state, attr, VTERM_VALUETYPE_COLOR, &val); in setpenattr_col() 153 static void set_pen_col_ansi(VTermState *state, VTermAttr attr, long col) in set_pen_col_ansi() argument 159 setpenattr_col(state, attr, *colp); in set_pen_col_ansi() [all …]
|
| /vim-8.2.3635/src/testdir/ |
| H A D | test_listlbr_utf8.vim | 23 let attr = [] 27 let attr += [screenattr(a:lnum, scol + prefix)] 29 return attr 157 let attr = s:screen_attr(1, [1, 6]) 158 call assert_notequal(attr[0], attr[1]) 159 call assert_notequal(attr[1], attr[3]) 160 call assert_notequal(attr[3], attr[5])
|
| H A D | test_highlight.vim | 1121 VAR attr = {'bold': v:true, 'underline': v:true, 'undercurl': v:true, 1124 call hlset([{'name': 'myhlg2', 'term': attr, 'cterm': attr, 'gui': attr}]) 1130 call assert_equal([{'id': id2, 'name': 'myhlg2', 'gui': attr, 1131 \ 'term': attr, 'cterm': attr}], hlget('myhlg2')) 1138 VAR attr = {'bold': v:false, 'underline': v:true, 'strikethrough': v:true} 1139 call hlset([{'name': 'myhlg2', 'term': attr, 'cterm': attr, 'gui': attr}]) 1145 LET attr = {'underline': v:true, 'strikethrough': v:true} 1146 call assert_equal([{'id': id2, 'name': 'myhlg2', 'gui': attr, 1147 \ 'term': attr, 'cterm': attr}], hlget('myhlg2'))
|
| H A D | test_hlsearch.vim | 59 let attr = screenattr(1, 1) 61 call assert_equal(attr, screenattr(row, 1), 'in line ' . row)
|
| /vim-8.2.3635/runtime/ftplugin/ |
| H A D | julia.vim | 52 let attr = synIDattr(synID(l, c, 1),"name") 54 while attr == 'juliaMacro' || expand('<cword>') =~# '\<\%(global\|local\)\>' 60 let attr = synIDattr(synID(l, col('.'), 1),"name") 64 if attr == 'juliaConditional' 66 elseif attr =~# '\<\%(juliaRepeat\|juliaRepKeyword\)\>' 68 elseif attr == 'juliaBlKeyword' 70 elseif attr == 'juliaException'
|
| /vim-8.2.3635/runtime/autoload/ |
| H A D | xmlcomplete.vim | 196 " Get last word, it should be attr name 197 let attr = matchstr(context, '.*\s\zs.*') 202 " If attr contains =\s*[\"'] we catch value of attribute 203 if attr =~ "=\s*[\"']" || attr =~ "=\s*$" 205 let attrname = matchstr(attr, '.*\ze\s*=') 206 let entered_value = matchstr(attr, ".*=\\s*[\"']\\?\\zs.*") 264 if m =~ '^'.attr 266 elseif m =~ attr
|
| H A D | htmlcomplete.vim | 262 " Get last word, it should be attr name 263 let attr = matchstr(context, '.*\s\zs.*') 425 let entered_class = matchstr(attr, ".*=\\s*[\"']\\zs.*") 489 " If attr contains =\s*[\"'] we match value of attribute 490 if attr =~ "=\s*[\"']" || attr =~ "=\s*$" 492 let attrname = matchstr(attr, '.*\ze\s*=') 493 let entered_value = matchstr(attr, ".*=\\s*[\"']\\?\\zs.*") 572 if m =~ '^'.attr 574 elseif m =~ attr
|
| /vim-8.2.3635/runtime/spell/de/ |
| H A D | main.aap | 42 :attr {fetch = $YAMAGIDIR/%file%} $READMES 64 :attr {fetch = $YAMAGIDIR/src/%file%} $DICT_FILES 65 :attr {fetch = $DEDIR/%file%} $ZIPFILE_19
|
| /vim-8.2.3635/runtime/spell/pl/ |
| H A D | main.aap | 31 #:attr {fetch = $OODIR/%file%} pl_PL.zip 44 :attr {fetch = $HTTPDIR/%file%} $fname 73 :attr {fetch = $HTTPDIR/%file%} $fname
|