Home
last modified time | relevance | path

Searched refs:w_height (Results 1 – 25 of 34) sorted by relevance

12

/vim-8.2.3635/src/
H A Dmove.c103 if (done + n > wp->w_height) in comp_botline()
1114 && curwin->w_height != 0 in curs_columns()
1145 n -= curwin->w_height / 2; in curs_columns()
1541 if (n >= curwin->w_height) in max_topfill()
1856 if (used > curwin->w_height) in scroll_cursor_top()
1879 if (used > curwin->w_height) in scroll_cursor_top()
2063 if (used > curwin->w_height) in scroll_cursor_bot()
2087 if (used > curwin->w_height) in scroll_cursor_bot()
2204 if (used > curwin->w_height) in scroll_cursor_halfway()
2278 max_off = curwin->w_height / 2; in cursor_correct()
[all …]
H A Ddrawscreen.c1753 if (j >= wp->w_height - 2) in win_update()
1849 bot_start = wp->w_height - row; in win_update()
1898 mid_end = wp->w_height; in win_update()
1923 mid_end = wp->w_height; in win_update()
1930 mid_end = wp->w_height; in win_update()
2123 mid_end = wp->w_height; in win_update()
2184 if (row == wp->w_height) in win_update()
2384 > wp->w_height) in win_update()
2450 row = wp->w_height + 1; in win_update()
2640 if (row + j > wp->w_height) in win_update()
[all …]
H A Dpopupwin.c322 int height = wp->w_height; in popup_set_firstline()
591 > wp->w_height) in popup_show_curline()
1082 return wp->w_height in popup_height()
1137 int org_height = wp->w_height; in popup_adjust_position()
1470 wp->w_height = minheight; in popup_adjust_position()
1472 wp->w_height = maxheight; in popup_adjust_position()
1517 wp->w_height += wp->w_winrow; in popup_adjust_position()
1546 if (wp->w_height != org_height) in popup_adjust_position()
1564 || org_height != wp->w_height) in popup_adjust_position()
3724 if (line_cp >= wp->w_height) in may_update_popup_mask()
[all …]
H A Dwindow.c1019 oldwin_height = oldwin->w_height; in win_split_ins()
1601 if (win_split(curwin->w_height - (curwin->w_height - todo in make_windows()
1792 int height = curwin->w_height; in win_totop()
3316 --wp->w_height; in frame_add_statusline()
6206 if (wp->w_height > 1) in set_fraction()
6229 if (wp->w_height == height) in win_new_height()
6232 if (wp->w_height > 0) in win_new_height()
6238 if (wp->w_height != prev_height) in win_new_height()
6245 wp->w_height = height; in win_new_height()
6259 int height = wp->w_height; in scroll_to_fraction()
[all …]
H A Dmouse.c142 if (row >= wp->w_height) // In (or below) status line in get_fpos_of_mouse()
574 > (curwin->w_winrow + curwin->w_height)) in do_mouse()
1677 if (row >= wp->w_height) // In (or below) status line in jump_to_mouse()
1679 on_status_line = row - wp->w_height + 1; in jump_to_mouse()
1793 count = row - dragwin->w_winrow - dragwin->w_height + 1 in jump_to_mouse()
1890 else if (row >= curwin->w_height) in jump_to_mouse()
1901 if (!first && count > row - curwin->w_height + 1) in jump_to_mouse()
1928 row = curwin->w_height - 1; in jump_to_mouse()
2047 if (curwin->w_height < 6) in nv_mousescroll()
2049 cap->count1 = curwin->w_height / 2; in nv_mousescroll()
[all …]
H A Dscreen.c857 screen_fill(W_WINROW(wp) + row, W_WINROW(wp) + wp->w_height, in draw_vsep_win()
3399 if (wp->w_height < 5) in win_ins_lines()
3402 if (line_count > wp->w_height - row) in win_ins_lines()
3403 line_count = wp->w_height - row; in win_ins_lines()
3431 nextrow = W_WINROW(wp) + wp->w_height + wp->w_status_height; in win_ins_lines()
3476 if (line_count > wp->w_height - row) in win_del_lines()
3477 line_count = wp->w_height - row; in win_del_lines()
3548 if (row + line_count >= wp->w_height) in win_do_lines()
3579 wp->w_height - row, FALSE, clear_attr, wp); in win_do_lines()
3582 wp->w_height - row, clear_attr, wp); in win_do_lines()
[all …]
H A Dsession.c262 if (wp->w_height + wp->w_status_height < topframe->fr_height in ses_winsizes()
265 n, (long)wp->w_height, Rows / 2, Rows) < 0 in ses_winsizes()
459 if (wp->w_height <= 0) in put_view()
468 (long)wp->w_height / 2, (long)wp->w_height) < 0) in put_view()
H A Devalwindow.c401 dict_add_number(dict, "height", wp->w_height); in get_win_info()
833 int height = wp->w_height; in win_move_into_split()
1026 rettv->vval.v_number = wp->w_height; in f_winheight()
1100 sprintf((char *)buf, ":%dresize %d|", winnr, wp->w_height); in f_winrestcmd()
1153 win_new_height(curwin, curwin->w_height); in f_winrestview()
H A Dpopupmenu.c120 pum_win_height = curwin->w_height; in pum_display()
132 above_row = W_WINROW(pvwin) + pvwin->w_height; in pum_display()
133 else if (W_WINROW(pvwin) > W_WINROW(curwin) + curwin->w_height) in pum_display()
896 if (curwin->w_height < lnum) in pum_set_selected()
1064 && pum_win_height == curwin->w_height in pum_in_same_position()
H A Dgui.c4252 max = wp->w_buffer->b_ml.ml_line_count + wp->w_height - 2; in gui_update_scrollbars()
4257 size = wp->w_height; in gui_update_scrollbars()
4294 if (force || sb->height != wp->w_height in gui_update_scrollbars()
4302 sb->height = wp->w_height; in gui_update_scrollbars()
4935 wp->w_height + W_WINROW(wp)); in gui_mouse_focus()
5035 else if (row > wp->w_height) // below status line in xy2win()
5038 && (row != wp->w_height || !stl_connected(wp)) && msg_scrolled == 0) in xy2win()
5041 && row == wp->w_height && msg_scrolled == 0) in xy2win()
H A Dbeval.c42 if (wp != NULL && row >= 0 && row < wp->w_height && col < wp->w_width) in find_word_under_cursor()
H A Dterminal.c294 term->tl_rows = curwin->w_height; in set_term_and_win_size()
316 if (term->tl_rows != curwin->w_height) in set_term_and_win_size()
1959 if (wp->w_cursor.lnum >= wp->w_height) in may_move_terminal_to_buffer()
1961 linenr_T min_topline = wp->w_cursor.lnum - wp->w_height + 1; in may_move_terminal_to_buffer()
2188 || row >= (W_WINROW(curwin) + curwin->w_height) in send_keys_to_term()
2224 wp->w_wrow = MIN(pos->row, MAX(0, wp->w_height - 1)); in position_cursor()
3757 newrows = MIN(newrows, wwp->w_height); in term_update_window()
3792 && pos.row < wp->w_height; ++pos.row) in term_update_window()
H A Dmenu.c437 ++curwin->w_height; in ex_menu()
438 else if (curwin->w_height > 0) in ex_menu()
439 --curwin->w_height; in ex_menu()
H A Dvim.h1527 # define VISIBLE_HEIGHT(wp) ((wp)->w_height + (wp)->w_winbar_height)
1530 # define VISIBLE_HEIGHT(wp) (wp)->w_height
H A Dmisc1.c381 if (winheight > 0 && lines > wp->w_height) in plines_win_nofill()
382 return (int)wp->w_height; in plines_win_nofill()
H A Doption.c3383 if (pp == &p_wh && curwin->w_height < p_wh) in set_num_option()
3385 if (pp == &p_hh && curbuf->b_help && curwin->w_height < p_hh) in set_num_option()
3758 || (curwin->w_p_scr > curwin->w_height in set_num_option()
3759 && curwin->w_height > 0)) in set_num_option()
3773 curwin->w_p_scr = curwin->w_height; in set_num_option()
H A Dhelp.c157 if (curwin->w_height < p_hh) in ex_help()
H A Ddrawline.c1334 row = wp->w_height; in win_line()
3112 win_draw_end(wp, '@', ' ', TRUE, row, wp->w_height, HLF_AT); in win_line()
H A Dif_ruby.c1685 return INT2NUM(win->w_height); in window_height()
H A Dif_tcl.c1008 resobj = Tcl_NewIntObj((int)(win->w_height)); in winselfcmd()
H A Dquickfix.c2879 if (curwin->w_height < p_hh) in jump_to_help_window()
4128 else if (sz != win->w_height && win->w_height in qf_goto_cwindow()
H A Dstructs.h3488 int w_height; // number of rows in window, excluding member
H A Dif_lua.c1619 lua_pushinteger(L, w->w_height); in luaV_window_index()
H A Dnormal.c3955 half = (curwin->w_height - curwin->w_empty_rows + 1) / 2; in nv_scroll()
3976 if (n > 0 && used > curwin->w_height) in nv_scroll()
H A Ddiff.c1430 scroll_to_fraction(curwin, curwin->w_height); in ex_diffsplit()

12