Home
last modified time | relevance | path

Searched refs:cells (Results 1 – 25 of 38) sorted by relevance

12

/vim-8.2.3635/src/
H A Dpopupmenu.c547 && col + cells > pum_width + pum_col) in pum_redraw()
553 cells -= (*mb_ptr2cells)(st + size); in pum_redraw()
556 --cells; in pum_redraw()
1194 int cells; member
1230 item->cells = indent * 2; in split_message()
1249 ++item->cells; in split_message()
1254 item->cells += ptr2cells(p); in split_message()
1260 if (item->cells > max_cells) in split_message()
1261 max_cells = item->cells; in split_message()
1292 int cells; in split_message() local
[all …]
H A Dgui_x11.c2302 draw_curl(int row, int col, int cells) in draw_curl() argument
2309 for (i = FILL_X(col); i < FILL_X(col + cells); ++i) in draw_curl()
2326 int cells = len; in gui_mch_draw_string() local
2346 cells = 0; in gui_mch_draw_string()
2368 cells += utf_char2cells(c); in gui_mch_draw_string()
2374 cells = 0; in gui_mch_draw_string()
2377 cells += ptr2cells(p); in gui_mch_draw_string()
2393 clip.width = gui.char_width * cells + 1; in gui_mch_draw_string()
2450 draw_curl(row, col, cells); in gui_mch_draw_string()
2462 y, FILL_X(col + cells) - 1, y); in gui_mch_draw_string()
[all …]
H A Dgui_haiku.cc1693 int cells; in mchDrawString() local
1694 cells = 0; in mchDrawString()
1697 if (cn<4) cells += cn; in mchDrawString()
1712 int cells; in mchDrawString() local
1723 cells = utf_ptr2cells((char_u *)p); in mchDrawString()
1724 if (cells<4) lastpos += cells; in mchDrawString()
1742 int cells; in mchDrawString() local
1743 cells = 0; in mchDrawString()
1746 if (cn<4) cells += cn; in mchDrawString()
1750 BPoint end(FILL_X(col + cells) - PEN_WIDTH, start.y); in mchDrawString()
[all …]
H A Dsign.c977 int cells; in sign_define_init_text() local
993 cells = 0; in sign_define_init_text()
998 cells += (*mb_ptr2cells)(s); in sign_define_init_text()
1006 cells = (int)(s - text); in sign_define_init_text()
1010 if (s != endp || cells < 1 || cells > 2) in sign_define_init_text()
1019 len = (int)(endp - text + ((cells == 1) ? 1 : 0)); in sign_define_init_text()
1023 if (sp->sn_text != NULL && cells == 1) in sign_define_init_text()
H A Ddrawscreen.c854 int cells; in text_to_screenline() local
875 cells = (*mb_ptr2cells)(p); in text_to_screenline()
877 if (col + cells > wp->w_width in text_to_screenline()
937 if (cells > 1) in text_to_screenline()
943 else if (cells > 1) in text_to_screenline()
946 col += cells; in text_to_screenline()
947 idx += cells; in text_to_screenline()
H A Dgui.c2107 int cells; in gui_outstr() local
2120 cells = 0; in gui_outstr()
2123 cells += (*mb_ptr2cells)(s + this_len); in gui_outstr()
2124 if (gui.col + cells > Columns) in gui_outstr()
2519 int cells; // cellwidth of bytes to be drawn in gui_outstr_nowrap() local
2539 cells = 0; in gui_outstr_nowrap()
2546 cells += cn; in gui_outstr_nowrap()
2593 scol += cells; in gui_outstr_nowrap()
2594 cells = 0; in gui_outstr_nowrap()
H A Dgui_gtk_x11.c5408 draw_under(int flags, int row, int col, int cells, cairo_t *cr) in draw_under() argument
5411 draw_under(int flags, int row, int col, int cells) in draw_under()
5429 for (i = FILL_X(col) + 1; i < FILL_X(col + cells); ++i) in draw_under()
5437 for (i = FILL_X(col); i < FILL_X(col + cells); ++i) in draw_under()
5462 FILL_X(col + cells), y + 1 - gui.char_height/2); in draw_under()
5481 cairo_line_to(cr, FILL_X(col + cells), y + 0.5); in draw_under()
5486 FILL_X(col + cells) - 1, y); in draw_under()
5746 int cells = 0; // cells occupied by current cluster in gui_gtk2_draw_string_ext() local
5854 setup_zero_width_cluster(item, glyph, cells, in gui_gtk2_draw_string_ext()
5860 cells = cellcount; in gui_gtk2_draw_string_ext()
[all …]
H A Dos_win32.c6225 static DWORD cells; in write_chars() local
6248 cells = mb_string2cells(pchBuf, cbToWrite); in write_chars()
6256 cells = mb_string2cells((char_u *)" ", 1); in write_chars()
6264 utf8spcells = cells; in write_chars()
6271 cells = utf8spcells; in write_chars()
6278 FillConsoleOutputAttribute(g_hConOut, g_attrCurrent, cells, in write_chars()
6297 g_coord.X += (SHORT)cells; in write_chars()
H A Dterminal.c3196 handle_pushline(int cols, const VTermScreenCell *cells, void *user) in handle_pushline() argument
3235 if (cells[i].chars[0] != 0) in handle_pushline()
3238 cell2cellattr(&cells[i], &fill_attr); in handle_pushline()
3245 for (col = 0; col < len; col += cells[col].width) in handle_pushline()
3252 for (i = 0; (c = cells[col].chars[i]) > 0 || i == 0; ++i) in handle_pushline()
3255 cell2cellattr(&cells[col], &p[col]); in handle_pushline()
H A Dex_getln.c47 static void correct_cmdspos(int idx, int cells);
2751 correct_cmdspos(int idx, int cells) in correct_cmdspos() argument
2755 && ccline.cmdspos % Columns + cells > Columns) in correct_cmdspos()
H A Dgui_w32.c6261 int cells; // cell width of string up to composing char in gui_mch_draw_string() local
6267 cells = 0; in gui_mch_draw_string()
6304 cells += cw; in gui_mch_draw_string()
6314 FILL_X(cells + 1), FILL_Y(1) - p_linespace, in gui_mch_draw_string()
6322 len = cells; // used for underlining in gui_mch_draw_string()
H A Dpopupwin.c3405 char_u *cells; in popup_update_mask() local
3423 cells = wp->w_popup_mask_cells; in popup_update_mask()
3457 cells[row * width + col] = 1; in popup_update_mask()
/vim-8.2.3635/src/libvterm/t/
H A Dharness.c471 static int screen_sb_pushline(int cols, const VTermScreenCell *cells, void *user UNUSED) in screen_sb_pushline() argument
480 while(eol && !cells[eol-1].chars[0]) in screen_sb_pushline()
485 printf(" %02X", cells[c].chars[0]); in screen_sb_pushline()
491 static int screen_sb_popline(int cols, VTermScreenCell *cells, void *user UNUSED) in screen_sb_popline() argument
501 cells[col].chars[0] = 'A' + col; in screen_sb_popline()
503 cells[col].chars[0] = 0; in screen_sb_popline()
505 cells[col].width = 1; in screen_sb_popline()
H A D63screen_resize.test5 !Resize wider preserves cells
H A D62screen_damage.test42 !Merge to cells
/vim-8.2.3635/src/libvterm/include/
H A Dvterm.h503 int (*sb_pushline)(int cols, const VTermScreenCell *cells, void *user);
504 int (*sb_popline)(int cols, VTermScreenCell *cells, void *user);
/vim-8.2.3635/runtime/syntax/
H A Dtsscl.vim35 syn keyword tssclKeyword cells rays error nodes levels objects cpu
H A Dpov.vim31 syn keyword povDescriptors agate aoi average brick boxed bozo bumps cells checker crackle cylindric…
H A Dreva.vim53 syn keyword revaadrarith chars char+ cells cell+ cell cell- 2cell+ 2cell- 3cell+ 4cell+
/vim-8.2.3635/src/testdir/
H A Dtest_utf8.vim134 " 2-cells, with composing characters
/vim-8.2.3635/runtime/doc/
H A Dpopup.txt398 width width of the whole popup in screen cells
399 height height of the whole popup in screen cells
402 core_width width of the text box in screen cells
403 core_height height of the text box in screen cells
H A Dos_haiku.txt205 cells.
H A Dif_pyth.txt206 Like |strwidth()|: returns number of display cells str occupies, tab
560 row, col (read-only) On-screen window position in display cells.
H A Dterminal.txt333 size. The minimal size is 2 screen lines with 10 cells.
336 of screen rows and "cols" is the minimal number of cells.
340 and cells. If the window is bigger there will be unused empty space.
/vim-8.2.3635/runtime/autoload/
H A Dcsscomplete.vim9 …ent counter-reset cue cue-before cue-after cursor direction display empty-cells fallback filter fl…
256 elseif prop == 'empty-cells'

12