| /vim-8.2.3635/src/ |
| H A D | mark.c | 1041 win_T *win; in mark_adjust_internal() local 1138 if (win != curwin) in mark_adjust_internal() 1140 if (win->w_topline >= line1 && win->w_topline <= line2) in mark_adjust_internal() 1152 win->w_topfill = 0; in mark_adjust_internal() 1159 win->w_topfill = 0; in mark_adjust_internal() 1162 if (win->w_cursor.lnum >= line1 && win->w_cursor.lnum <= line2) in mark_adjust_internal() 1170 win->w_cursor.col = 0; in mark_adjust_internal() 1226 win_T *win; in mark_col_adjust() local 1274 FOR_ALL_WINDOWS(win) in mark_col_adjust() 1291 if (win != curwin) in mark_col_adjust() [all …]
|
| H A D | window.c | 1456 if (wp == win) in win_valid_popup() 1459 if (wp == win) in win_valid_popup() 1476 if (wp == win) in win_valid() 2375 win_T *win, in close_last_window_tabpage() argument 2436 if (win->w_buffer != NULL && bt_quickfix(win->w_buffer)) in win_close_buffer() 2495 if (win->w_closing || (win->w_buffer != NULL in win_close() 2570 if (popup_win_closed(win) && !win_valid(win)) in win_close() 2755 if (win->w_closing || (win->w_buffer != NULL in win_close_othertab() 2816 win_T *win, in win_free_mem() argument 2868 win_T *win, in winframe_remove() argument [all …]
|
| H A D | arglist.c | 334 win_T *win; in alist_check_arg_idx() local 339 check_arg_idx(win); in alist_check_arg_idx() 506 editing_arg_idx(win_T *win) in editing_arg_idx() argument 508 return !(win->w_arg_idx >= WARGCOUNT(win) in editing_arg_idx() 509 || (win->w_buffer->b_fnum in editing_arg_idx() 510 != WARGLIST(win)[win->w_arg_idx].ae_fnum in editing_arg_idx() 513 alist_name(&WARGLIST(win)[win->w_arg_idx]), in editing_arg_idx() 521 check_arg_idx(win_T *win) in check_arg_idx() argument 523 if (WARGCOUNT(win) > 1 && !editing_arg_idx(win)) in check_arg_idx() 528 if (win->w_arg_idx != WARGCOUNT(win) - 1 in check_arg_idx() [all …]
|
| H A D | if_mzsch.c | 1928 self->win = win; in window_new() 1966 for ( ; win != NULL; win = win->w_next, --fnum) in get_window_by_num() 1982 return buffer_new(win->win->w_buffer); in get_window_buffer() 2016 curwin = win->win; in set_window_height() 2055 curwin = win->win; in set_window_width() 2074 pos = win->win->w_cursor; in get_cursor() 2103 check_line_range(lnum, win->win->w_buffer); in set_cursor() 2106 win->win->w_cursor.lnum = lnum; in set_cursor() 2107 win->win->w_cursor.col = col; in set_cursor() 2108 win->win->w_set_curswant = TRUE; in set_cursor() [all …]
|
| H A D | match.c | 417 win_T *win, in next_search_hl() argument 944 if (*win == NULL) in matchadd_dict_arg() 962 win_T *win; in f_clearmatches() local 968 if (win != NULL) in f_clearmatches() 969 clear_matches(win); in f_clearmatches() 983 win_T *win; in f_getmatches() local 1056 win_T *win; in f_setmatches() local 1071 if (win == NULL) in f_setmatches() 1099 clear_matches(win); in f_setmatches() 1331 win_T *win; in f_matchdelete() local [all …]
|
| H A D | if_tcl.c | 460 win_T *win; in windowcmd() local 470 FOR_ALL_WINDOWS(win) in windowcmd() 503 win_T *win, *savewin; in bufselfcmd() local 880 FOR_ALL_WINDOWS(win) in bufselfcmd() 940 win_T *savewin, *win; in winselfcmd() local 1033 err = tclsetdelcmd(interp, win->w_tcl_ref, (void *)win, objv[2]); in winselfcmd() 1206 win_T *win; in tclfindwin() local 1208 FOR_ALL_WINDOWS(win) in tclfindwin() 1211 return win; in tclfindwin() 1501 return tclgetref(interp, &(win->w_tcl_ref), "win", (void *)win, winselfcmd); in tclgetwindow() [all …]
|
| H A D | if_ruby.c | 991 ruby_window_free(win_T *win) in ruby_window_free() argument 993 if (win->w_ruby_ref) in ruby_window_free() 1581 window_new(win_T *win) in window_new() argument 1583 if (win->w_ruby_ref) in window_new() 1603 win_T *win; in get_win() local 1610 if (win == NULL) in get_win() 1612 return win; in get_win() 1675 win_T *win = get_win(self); in window_buffer() local 1694 curwin = win; in window_set_height() 1712 curwin = win; in window_set_width() [all …]
|
| H A D | quickfix.c | 2999 win = win->w_prev; // go to previous window in qf_goto_win_with_ll_file() 3020 win_T *win; in qf_goto_win_with_qfl_file() local 3032 win = win->w_prev; // go to previous window in qf_goto_win_with_qfl_file() 3042 win = altwin; in qf_goto_win_with_qfl_file() 4054 win_T *win; in ex_cwindow() local 4114 win_T *win; in qf_goto_cwindow() local 4128 else if (sz != win->w_height && win->w_height in qf_goto_cwindow() 4169 win_T *win; in qf_open_new_cwindow() local 4228 prevwin = win; in qf_open_new_cwindow() 4323 if (win != NULL && win->w_cursor.lnum != win->w_buffer->b_ml.ml_line_count) in ex_cbottom() [all …]
|
| H A D | if_perl.xs | 1722 DESTROY(win) 1723 VIWIN win 1730 Buffer(win) 1731 VIWIN win 1735 win = curwin; 1742 VIWIN win 1750 win = curwin; 1757 Cursor(win, ...) 1758 VIWIN win 1765 win = curwin; [all …]
|
| H A D | if_xcmdsrv.c | 741 Window win = serverStrToWin(name); in serverSendReply() local 748 if (!WindowValid(dpy, win)) in serverSendReply() 782 Window win, in serverReadReply() argument 791 ServerWait(dpy, win, WaitForReply, &win, localLoop, in serverReadReply() 808 ServerReplyFind(win, SROP_Delete); in serverReadReply() 830 if (!WindowValid(dpy, win)) in serverPeekReply() 993 Window win) // Window to remove in DeleteAnyLingerer() argument 1012 if ((Window)wwin == win) in DeleteAnyLingerer() 1407 Window win = 0; in server_parse_message() local 1437 win = u; in server_parse_message() [all …]
|
| H A D | fold.c | 115 hasAnyFolding(win_T *win) in hasAnyFolding() argument 118 return (win->w_p_fen in hasAnyFolding() 119 && (!foldmethodIsManual(win) || win->w_folds.ga_len > 0)); in hasAnyFolding() 138 win_T *win, in hasFoldingWin() argument 157 checkupdate(win); in hasFoldingWin() 189 gap = &win->w_folds; in hasFoldingWin() 806 clearFolding(win_T *win) in clearFolding() argument 1669 win_T *win, in check_closed() argument 3292 win_T *win; in foldlevelExpr() 3298 win = curwin; in foldlevelExpr() [all …]
|
| H A D | misc2.c | 557 colnr_T oldcoladd = win->w_cursor.col + win->w_cursor.coladd; in check_cursor_col_win() 560 len = (colnr_T)STRLEN(ml_get_buf(win->w_buffer, win->w_cursor.lnum, FALSE)); in check_cursor_col_win() 562 win->w_cursor.col = 0; in check_cursor_col_win() 573 win->w_cursor.col = len; in check_cursor_col_win() 579 mb_adjustpos(win->w_buffer, &win->w_cursor); in check_cursor_col_win() 583 win->w_cursor.col = 0; in check_cursor_col_win() 589 win->w_cursor.coladd = 0; in check_cursor_col_win() 594 win->w_cursor.coladd = oldcoladd - win->w_cursor.col; in check_cursor_col_win() 599 if (win->w_cursor.col + 1 < len && win->w_cursor.coladd > 0) in check_cursor_col_win() 603 getvcol(win, &win->w_cursor, &cs, NULL, &ce); in check_cursor_col_win() [all …]
|
| H A D | mouse.c | 2858 win_T *win, in mouse_comp_pos() argument 2872 if (win->w_p_rl) in mouse_comp_pos() 2876 lnum = win->w_topline; in mouse_comp_pos() 2891 if (win->w_p_diff in mouse_comp_pos() 2897 if (lnum == win->w_topline) in mouse_comp_pos() 2898 row -= win->w_topfill; in mouse_comp_pos() 2926 off = win_col_off(win) - win_col_off2(win); in mouse_comp_pos() 2931 col += win->w_skipcol; in mouse_comp_pos() 2934 if (!win->w_p_wrap) in mouse_comp_pos() 2935 col += win->w_leftcol; in mouse_comp_pos() [all …]
|
| H A D | buffer.c | 573 if (win != NULL && win_valid_any_tab(win)) in close_buffer() 580 set_last_cursor(win); in close_buffer() 581 buflist_setfpos(buf, win, in close_buffer() 582 win->w_cursor.lnum == 1 ? 0 : win->w_cursor.lnum, in close_buffer() 700 if (win_valid_any_tab(win) && win->w_buffer == buf) in close_buffer() 861 win_T *win; in buf_freeall() local 866 clearFolding(win); in buf_freeall() 2946 if (wip->wi_win == win) in buflist_setfpos() 2954 wip->wi_win = win; in buflist_setfpos() 3365 win_T *win; in setfname() local [all …]
|
| H A D | if_py_both.h | 3861 win_T *win; member 3900 if (WIN_PYTHON_REF(win)) in WindowNew() 3902 self = WIN_PYTHON_REF(win); in WindowNew() 3910 self->win = win; in WindowNew() 3911 WIN_PYTHON_REF(win) = self; in WindowNew() 3923 if (self->win && self->win != INVALID_WINDOW_VALUE) in WindowDestructor() 4066 self->win->w_cursor.lnum = lnum; in WindowSetattr() 4067 self->win->w_cursor.col = col; in WindowSetattr() 4069 self->win->w_cursor.coladd = 0; in WindowSetattr() 4088 curwin = self->win; in WindowSetattr() [all …]
|
| /vim-8.2.3635/runtime/syntax/ |
| H A D | cmusrc.vim | 54 \ unmark win-activate win-add-l win-add-p 55 \ win-add-Q win-add-q win-bottom win-down 56 \ win-mv-after win-mv-before win-next 57 \ win-page-down win-page-up win-remove 58 \ win-sel-cur win-toggle win-top win-up 59 \ win-update
|
| H A D | 8th.vim | 282 Builtin screen-saver nk:screen-saver screen-size nk:screen-size screen-win-close nk:screen-win-clo… 292 Builtin widget-wide nk:widget-wide win nk:win win-bounds nk:win-bounds win-bounds! nk:win-bounds! … 293 Builtin win-closed? nk:win-closed? win-collapse nk:win-collapse win-collapsed? nk:win-collapsed? w… 294 Builtin win-focus nk:win-focus win-focused? nk:win-focused? win-hidden? nk:win-hidden? win-high nk… 295 Builtin win-hovered? nk:win-hovered? win-pos nk:win-pos win-scroll-ofs nk:win-scroll-ofs win-scrol… 296 Builtin win-show nk:win-show win-size nk:win-size win-wide nk:win-wide win? nk:win? MAX ns:MAX ! o…
|
| /vim-8.2.3635/src/proto/ |
| H A D | window.pro | 6 int win_valid_popup(win_T *win); 7 int win_valid(win_T *win); 9 int win_valid_any_tab(win_T *win); 14 void entering_window(win_T *win); 17 int win_close(win_T *win, int free_buf); 18 void win_close_othertab(win_T *win, int free_buf, tabpage_T *tp); 20 win_T *winframe_remove(win_T *win, int *dirp, tabpage_T *tp); 42 tabpage_T *win_find_tabpage(win_T *win); 49 void win_free_popup(win_T *win); 59 void win_setheight_win(int height, win_T *win);
|
| H A D | fold.pro | 3 int hasAnyFolding(win_T *win); 5 int hasFoldingWin(win_T *win, linenr_T lnum, linenr_T *firstp, linenr_T *lastp, int cache, foldinfo… 6 int lineFolded(win_T *win, linenr_T lnum); 7 long foldedCount(win_T *win, linenr_T lnum, foldinfo_T *infop); 25 void clearFolding(win_T *win); 27 void foldUpdateAll(win_T *win); 30 int find_wl_entry(win_T *win, linenr_T lnum);
|
| H A D | if_xcmdsrv.pro | 8 int serverReadReply(Display *dpy, Window win, char_u **str, int localLoop, int timeout); 9 int serverPeekReply(Display *dpy, Window win, char_u **str);
|
| /vim-8.2.3635/src/testdir/ |
| H A D | test_terminal2.vim | 24 let win = bufwinid(buf) 26 call assert_equal(6, winheight(win)) 27 call assert_equal(40, winwidth(win)) 49 let win = bufwinid(buf) 50 call assert_equal([winheight(win), winwidth(win)], term_getsize(buf)) 57 let win = bufwinid(buf) 65 let win = bufwinid(buf) 78 let win = bufwinid(buf) 81 call assert_equal([winheight(win), winwidth(win)], term_getsize(buf)) 103 let win = bufwinid(buf) [all …]
|
| H A D | test_tcl.vim | 235 tcl $win cursor 2 4 244 tcl $win cursor 2 4 251 " test $win cursor {$var} 253 tcl array set here [$win cursor] 257 tcl $win cursor here 279 tcl unset win here 283 " Test $win buffer 304 " Test $win command 329 " Test $win expr 347 " Test $win option [all …]
|
| H A D | test_getcwd.vim | 3 func GetCwdInfo(win, tab) argument 10 let bufname = fnamemodify(bufname(winbufnr(a:win)), mod) 14 if a:win == 0 && a:tab == 0 18 let dirname = fnamemodify(getcwd(a:win), mod) 19 let lflag = haslocaldir(a:win) 21 let dirname = fnamemodify(getcwd(a:win, a:tab), mod) 22 let lflag = a:win->haslocaldir(a:tab)
|
| /vim-8.2.3635/runtime/doc/ |
| H A D | if_tcl.txt | 251 $win buffer *tcl-window-buffer* 254 set buf [$win buffer] 258 $win cursor *tcl-window-cursor* 259 $win cursor {var} 260 $win cursor {row} {col} 263 array set here [$win cursor] 268 $win cursor here ;# not $here ! 282 $win height *tcl-window-height* 283 $win height {n} 299 $win option number on [all …]
|
| H A D | if_mzsch.txt | 234 (win? {object}) Is object a window? 237 (curr-win) Get the current window. 238 (win-count) Get count of windows. 239 (get-win-num [window]) Get window number. 240 (get-win-by-num {windownum}) Get window by its number. 241 (get-win-buffer [window]) Get the buffer for a given window. 242 (get-win-height [window]) 243 (set-win-height {height} [window]) Get/Set height of window. 244 (get-win-width [window]) 245 (set-win-width {width} [window])Get/Set width of window. [all …]
|