| /vim-8.2.3635/src/ |
| H A D | message.c | 2299 msg_row = Rows - 1; in msg_puts_display() 2407 screen_fill((int)Rows - 1, (int)Rows, 0, (int)Columns, ' ', ' ', 0); in msg_scroll_up() 2412 screen_fill((int)Rows - 2, (int)Rows - 1, in msg_scroll_up() 3024 screen_fill((int)Rows - 2, (int)Rows - 1, 0, in do_more_prompt() 3034 screen_fill((int)Rows - 1, (int)Rows, 0, in do_more_prompt() 3048 screen_fill((int)Rows - 1, (int)Rows, 0, (int)Columns, ' ', ' ', 0); in do_more_prompt() 3053 msg_row = Rows - 1; in do_more_prompt() 3311 msg_row = Rows - 1; in repeat_message() 3317 msg_row = Rows - 1; in repeat_message() 3336 msg_row = Rows - 1; in repeat_message() [all …]
|
| H A D | screen.c | 458 if (row >= Rows) in screen_line() 459 row = Rows - 1; in screen_line() 1285 row = Rows - 1; in win_redr_custom() 2609 && Rows == screen_Rows in screenalloc() 2614 || Rows == 0 in screenalloc() 2863 screen_Rows = Rows; in screenalloc() 2873 && old_Rows != Rows) in screenalloc() 2977 for (i = 0; i < Rows; ++i) in screenclear2() 3433 if (lastrow > Rows) in win_ins_lines() 3434 lastrow = Rows; in win_ins_lines() [all …]
|
| H A D | os_amiga.c | 270 Rows = 24; in mch_init() 1040 if (sscanf(answ, scan, &Rows, &Columns) == 2) in mch_get_shellsize() 1056 Rows = 24; in mch_get_shellsize() 1112 Rows = conUnit->cu_YMax + 1; in mch_get_shellsize() 1114 if (Rows < 0 || Rows > 200) // cannot be an amiga window in mch_get_shellsize() 1117 Rows = 24; in mch_get_shellsize() 1142 out_num((long)Rows); in mch_set_shellsize()
|
| H A D | popupwin.c | 305 if (wp->w_wantline > Rows) in popup_drag() 306 wp->w_wantline = Rows; in popup_drag() 1141 int maxheight = Rows; in popup_adjust_position() 1243 if (wp->w_winrow >= Rows) in popup_adjust_position() 1244 wp->w_winrow = Rows - 1; in popup_adjust_position() 1475 wp->w_height = Rows - wp->w_winrow; in popup_adjust_position() 1508 && wantline * 2 > Rows in popup_adjust_position() 1541 if (wp->w_winrow >= Rows) in popup_adjust_position() 1542 wp->w_winrow = Rows - 1; in popup_adjust_position() 2046 if (wp->w_wantline + height > Rows) in popup_create() [all …]
|
| H A D | os_win32.c | 1708 if (dwSize.X != Columns || dwSize.Y != Rows) in WaitForChar() 2352 Rows = 25; in mch_init_g() 3716 windgoto((int)Rows - 1, 0); in handler_routine() 3824 Rows = g_cbTermcap.Info.dwSize.Y; in mch_get_shellsize() 3834 Rows = 25; in mch_get_shellsize() 3985 if (Rows > coordScreen.Y) in mch_set_shellsize() 3986 Rows = coordScreen.Y; in mch_set_shellsize() 5619 Rows = g_cbTermcap.Info.dwSize.Y; in termcap_mode_start() 5765 clear_chars(g_coord, Rows * Columns); in clear_screen() 5784 clear_chars(g_coord, (Rows - g_coord.Y - 1) in clear_to_end_of_display() [all …]
|
| H A D | gui.c | 406 gui.num_rows = Rows; in gui_init_check() 410 gui.scroll_region_bot = Rows - 1; in gui_init_check() 694 gui.num_rows = Rows; in gui_init() 1632 Rows = gui.num_rows; in gui_get_shellsize() 1718 gui.num_rows = Rows; in gui_set_shellsize() 3572 i = Rows; in gui_init_which_components() 3574 Rows = i; in gui_init_which_components() 3620 i = Rows; in gui_init_which_components() 3622 Rows = i; in gui_init_which_components() 3661 long prev_Rows = Rows; in gui_init_which_components() [all …]
|
| H A D | popupmenu.c | 791 && Rows > 10 in pum_set_selected() 1148 if (Rows - mouse_row > pum_size) in pum_position_at_mouse() 1152 if (pum_height > Rows - pum_row) in pum_position_at_mouse() 1153 pum_height = Rows - pum_row; in pum_position_at_mouse() 1216 int max_height = Rows / 2 - 1; in split_message()
|
| H A D | option.c | 840 p_window = Rows - 1; in set_init_2() 3554 else if (p_window >= Rows) in set_num_option() 3555 p_window = Rows - 1; in set_num_option() 3590 if (p_ch > Rows - min_rows() + 1) in set_num_option() 3591 p_ch = Rows - min_rows() + 1; in set_num_option() 3698 if (Rows < min_rows() && full_screen) in set_num_option() 3706 Rows = min_rows(); in set_num_option() 3740 if (cmdline_row > Rows - p_ch && Rows > p_ch) in set_num_option() 3741 cmdline_row = Rows - p_ch; in set_num_option() 3744 p_window = Rows - 1; in set_num_option() [all …]
|
| H A D | window.c | 69 #define ROWS_AVAIL (Rows - p_ch - tabline_height()) 1298 msg_row = Rows - 1; in win_split_ins() 1302 msg_row = Rows - 1; in win_split_ins() 3805 topframe->fr_height = Rows - p_ch; in win_alloc_firstwin() 4191 tp->tp_old_Rows = Rows; in leave_tabpage() 5434 && ((int *)gap->ga_data)[0] == Rows) in win_size_restore() 5926 room = Rows - p_ch; in win_setminheight() 6032 room = Rows - cmdline_row; in win_drag_status_line() 6086 p_ch = Rows - cmdline_row; in win_drag_status_line() 6443 cmdline_row = Rows - p_ch; in command_height() [all …]
|
| H A D | gui_xim.c | 1269 spot_area.height = gui.char_height * Rows; in xim_set_preedit() 1645 status_area.y = gui.char_height * Rows + gui.border_offset; in xim_set_status_area() 1658 status_area.y = gui.char_height * Rows + gui.border_offset; in xim_set_status_area() 1672 pre_area.y = gui.char_height * Rows + gui.border_offset; in xim_set_status_area() 1687 pre_area.height = gui.char_height * Rows; in xim_set_status_area()
|
| H A D | term.c | 3360 Rows = min_rows(); in check_shellsize() 3374 if (Rows > 1000) in limit_screen_size() 3375 Rows = 1000; in limit_screen_size() 3387 if (old_Rows != Rows || old_Columns != Columns) in win_new_shellsize() 3389 if (old_Rows != Rows) in win_new_shellsize() 3394 p_window = Rows - 1; in win_new_shellsize() 3395 old_Rows = Rows; in win_new_shellsize() 3422 int old_Rows = Rows; in shell_resized_check() 3435 if (old_Rows != Rows || old_Columns != Columns) in shell_resized_check() 3489 Rows = height; in set_shellsize() [all …]
|
| H A D | ex_getln.c | 2061 if (KeyTyped && ccline.cmdspos + i >= Columns * Rows) in getcmdline_int() 2722 m = Columns * Rows; in set_cmdspos_cursor() 3062 if (msg_row < Rows - 1) in getexmodeline() 3160 if (msg_row >= Rows) in redrawcmd_preedit() 3161 msg_row = Rows - 1; in redrawcmd_preedit() 3536 m = Columns * Rows; in put_on_cmdline() 3812 cmdline_row = Rows - 1; in compute_cmdrow() 3830 msg_row = Rows - 1; in cursorcmd() 3837 if (msg_row >= Rows) in cursorcmd() 3838 msg_row = Rows - 1; in cursorcmd()
|
| H A D | version.c | 8583 blanklines = (int)Rows - (ARRAY_LENGTH(lines) - 1); in intro_message() 8589 blanklines -= Rows - topframe->fr_height; in intro_message()
|
| H A D | os_vms.c | 200 Rows = tmode.x.y.length; in mch_get_shellsize() 210 set_tty(Rows, Columns); in mch_set_shellsize()
|
| H A D | mouse.c | 1605 if (row >= 0 && row < Rows && col >= 0 && col <= Columns in jump_to_mouse() 2839 if (mouse_row >= Rows) in check_termcode_mouse() 2840 mouse_row = Rows - 1; in check_termcode_mouse() 2884 if (plines_cache != NULL && cache_idx < Rows in mouse_comp_pos() 2906 if (plines_cache != NULL && cache_idx < Rows) in mouse_comp_pos()
|
| H A D | session.c | 265 n, (long)wp->w_height, Rows / 2, Rows) < 0 in ses_winsizes() 685 if (fprintf(fd, "set lines=%ld columns=%ld" , Rows, Columns) < 0 in makeopens()
|
| H A D | debugger.c | 282 lines_left = Rows - 1; in do_debug() 291 lines_left = Rows - 1; in do_debug()
|
| H A D | gui_x11.c | 638 if (gevent->y > FILL_Y(Rows)) in gui_x11_expose_cb() 639 XClearArea(gui.dpy, gui.wid, 0, FILL_Y((int)Rows), 0, 0, False); in gui_x11_expose_cb() 1353 Rows = h; in gui_mch_init() 2519 FILL_Y((int)Rows) + gui.border_offset); in gui_mch_flash() 2524 FILL_Y((int)Rows) + gui.border_offset); in gui_mch_flash()
|
| H A D | drawscreen.c | 173 if (msg_scrolled > Rows - 5) // clearing is faster in update_screen() 178 if (screen_ins_lines(0, 0, msg_scrolled, (int)Rows, 0, NULL) in update_screen() 713 row = Rows - 1; in win_redr_ruler() 2484 if (row > wp->w_height || row + wp->w_winrow >= Rows) in win_update() 2546 for (i = 0; i < Rows; ++i) in win_update()
|
| H A D | main.c | 380 cmdline_row = Rows - p_ch; in VimMain() 1559 windgoto((int)Rows - 1, 0); in getout() 1669 windgoto((int)Rows - 1, 0); in getout()
|
| H A D | ex_cmds.c | 1171 windgoto((int)Rows - 1, 0); in do_filter() 1438 msg_row = Rows - 1; in do_shell() 3331 lines_left = Rows - 1; in ex_append() 3452 bigness = Rows - 1; in ex_z() 4292 if (msg_row == Rows - 1) in ex_substitute()
|
| H A D | spellsuggest.c | 541 if (sps_limit > (int)Rows - 2) in spell_suggest() 542 limit = (int)Rows - 2; in spell_suggest() 566 msg_row = Rows - 1; // for when 'cmdheight' > 1 in spell_suggest() 567 lines_left = Rows; // avoid more prompt in spell_suggest() 642 lines_left = Rows; // avoid more prompt in spell_suggest()
|
| H A D | gui_gtk_x11.c | 677 if (event->area.y > FILL_Y(Rows)) in expose_event() 678 gdk_window_clear_area(gui.drawarea->window, 0, FILL_Y((int)Rows), 0, 0); in expose_event() 4217 Rows = h; in gui_mch_open() 4222 pixel_height = (guint)(gui_get_base_height() + Rows * gui.char_height); in gui_mch_open() 4259 pixel_height = (guint)(gui_get_base_height() + Rows * gui.char_height); in gui_mch_open() 6027 FILL_Y((int)Rows) + gui.border_offset); in gui_mch_flash() 6036 FILL_Y((int)Rows) + gui.border_offset); in gui_mch_flash()
|
| H A D | syntax.c | 483 if (syn_block->b_sst_len <= Rows) in syntax_start() 486 dist = syn_buf->b_ml.ml_line_count / (syn_block->b_sst_len - Rows) + 1; in syntax_start() 1095 len = syn_buf->b_ml.ml_line_count / SST_DIST + Rows * 2; in syn_stack_alloc() 1104 len = (len + len / 2) / SST_DIST + Rows * 2; in syn_stack_alloc() 1243 if (syn_block->b_sst_len <= Rows) in syn_stack_cleanup() 1246 dist = syn_buf->b_ml.ml_line_count / (syn_block->b_sst_len - Rows) + 1; in syn_stack_cleanup()
|
| H A D | os_unix.c | 1329 Rows = 24; in mch_init() 3384 windgoto((int)Rows - 1, 0); // may have moved the cursor in exit_scroll() 4132 Rows = rows; in mch_get_shellsize() 4190 term_set_winsize((int)Rows, (int)Columns); in mch_set_shellsize() 4329 set_child_environment(Rows, Columns, "dumb", is_terminal); in set_default_child_environment() 6811 cmdline_row = Rows - 1; // continue on last line in mch_expand_wildcards()
|