| /vim-8.2.3635/src/testdir/ |
| H A D | test_window_cmd.vim | 115 call assert_equal(winheight(1), winheight(2)) 301 let [wh1, wh2] = [winheight(1), winheight(2)] 325 let [wh1, wh2, wh3] = [winheight(1), winheight(2), winheight(3)] 341 let [wh1, wh2, wh3] = [winheight(1), winheight(2), winheight(3)] 419 let height_1 = winheight(1) 420 let height_2 = winheight(2) 429 call assert_equal(winheight(1), winheight(3)) 430 call assert_equal(winheight(2), winheight(4)) 743 let height = winheight(0) 744 while winheight(0) > 2 [all …]
|
| H A D | test_man.vim | 7 let l:h = winheight(1) 20 call assert_true(l:h > winheight(1)) 29 call assert_true(l:h > winheight(1)) 38 call assert_equal(l:h, winheight(1)) 47 call assert_inrange(l:h - 1, l:h + 1, winheight(1))
|
| H A D | test_terminal2.vim | 26 call assert_equal(6, winheight(win)) 33 call assert_equal(10, winheight(win)) 50 call assert_equal([winheight(win), winwidth(win)], term_getsize(buf)) 66 call assert_equal([winheight(win), 33], term_getsize(buf)) 79 call assert_inrange(10, 1000, winheight(win)) 81 call assert_equal([winheight(win), winwidth(win)], term_getsize(buf)) 87 call assert_equal(15, winheight(win)) 94 call assert_equal(7, winheight(win)) 104 call assert_equal([winheight(win), winwidth(win)], term_getsize(buf)) 136 let rows = winheight(0) [all …]
|
| H A D | test_winbuf_close.vim | 134 let l:height = winheight(0) 138 call assert_equal(l:height, winheight(0)) 168 call assert_equal(11, winheight(l:wid)) 171 call assert_equal(11, winheight(l:wid)) 224 let h = winheight(0) 228 …call assert_equal(h, winheight(0), "Window height does not match eight before opening and closing …
|
| H A D | test_diffmode.vim | 532 call assert_equal(&lines, winheight(1) + winheight(2) + 3) 533 call assert_inrange(0, 1, winheight(1) - winheight(2)) 544 call assert_equal(&lines - 2, winheight(1)) 545 call assert_equal(&lines - 2, winheight(2)) 1266 for i in range(winheight(0) * 2) 1267 call setline(i, i < winheight(0) - 10 ? i : i + 10) 1270 for i in range(winheight(0)*2 + 10) 1271 call setline(i, i < winheight(0) - 10 ? 0 : i) 1276 execute 'normal ' . winheight(0) . "\<C-d>"
|
| H A D | test_options.vim | 369 call assert_fails('set winheight=-1', 'E487:') 401 call assert_fails('set winminheight=10 winheight=9', 'E591:') 402 set winminheight& winheight& 403 set winheight=10 winminheight=10 404 call assert_fails('set winheight=9', 'E591:') 405 set winminheight& winheight& 1018 let &winheight = &lines + 4 1022 set winheight& 1152 call assert_equal(1, winheight(0))
|
| H A D | test_bufwintabinfo.vim | 70 call assert_equal(winheight(2), winlist[1].height) 73 call assert_equal(tablineheight + winheight(1) + 2, winlist[1].winrow)
|
| H A D | test_scroll_opt.vim | 15 execute 'setlocal scroll=' . (winheight(0) + 1)
|
| H A D | test_termcodes.vim | 386 \ "alet h = \<C-R>=winheight(0)\<CR>\<CR>", 'Lx!') 483 call assert_equal(2, winheight(0), msg) 535 call assert_equal(2, winheight(0), msg) 558 let rowseparator = winheight(0) + 1 567 call assert_equal(rowseparator - 1, winheight(0) + 1, msg) 570 call assert_equal(rowseparator, winheight(0) + 1, msg) 572 call assert_equal(rowseparator, winheight(0) + 1, msg) 616 let rowstatusline = winheight(0) + 1 629 call assert_equal(rowstatusline - 1, winheight(0) + 1, msg) 633 call assert_equal(rowstatusline, winheight(0) + 1, msg) [all …]
|
| H A D | test_help.vim | 132 call assert_equal(14, winheight(0))
|
| H A D | test_execute_func.vim | 132 let height = winheight(winid)
|
| H A D | test_mksession.vim | 166 set winheight=10 175 set winheight=999 177 set winheight&
|
| H A D | gen_opt_test.vim | 59 \ 'winheight': [[1, 10, 999], [-1, 0]],
|
| H A D | test_perl.vim | 118 call assert_equal(2, winheight(0))
|
| H A D | test_normal.vim | 687 call assert_equal(30, winsaveview()['topline']+winheight(0)-1) 695 call assert_equal(30, winsaveview()['topline']+winheight(0)-1) 699 call assert_equal(10, winheight(0)) 701 call assert_equal(12, winheight(0)) 703 call assert_equal(10, winheight(0)) 936 let h = winheight(0) 3279 call assert_equal(12, winheight(0))
|
| H A D | test_terminal.vim | 623 call assert_equal(4, winheight(0)) 1495 let height = winheight(0) 1498 call assert_equal(height, winheight(winnr())) 1507 call assert_equal(13, winheight(0))
|
| H A D | test_ruby.vim | 182 call assert_equal(2, winheight(0))
|
| H A D | test_popup.vim | 670 let h = winheight(0) 702 if winheight(0) < 15
|
| H A D | test_search.vim | 660 let h = winheight(0) 794 let h = winheight(0) 1320 let h = winheight(0)
|
| H A D | test_startup.vim | 162 \ winheight(1), winheight(2), &lines,
|
| /vim-8.2.3635/src/proto/ |
| H A D | misc1.pro | 5 int plines_win(win_T *wp, linenr_T lnum, int winheight); 7 int plines_win_nofill(win_T *wp, linenr_T lnum, int winheight);
|
| /vim-8.2.3635/src/ |
| H A D | misc1.c | 344 int winheight) // when TRUE limit to window height in plines_win() argument 349 return plines_win_nofill(wp, lnum, winheight) + diff_check_fill(wp, lnum); in plines_win() 362 int winheight) // when TRUE limit to window height in plines_win_nofill() argument 381 if (winheight > 0 && lines > wp->w_height) in plines_win_nofill()
|
| /vim-8.2.3635/runtime/ |
| H A D | macmap.vim | 23 nnoremap <silent> <special> <D-w> :if winheight(2) < 0 <Bar> confirm enew <Bar> else <Bar> confirm …
|
| /vim-8.2.3635/runtime/doc/ |
| H A D | windows.txt | 109 want to set the 'winheight' and/or 'winwidth' options to create a workable 547 'winheight' and 'winwidth' for the current window. 583 The option 'winheight' ('wh') is used to set the minimal window height of the 585 current window. If the option is '0', it is disabled. Set 'winheight' to a 684 [N] is the maximum number of windows to open. 'winheight' 1316 number of windows to open. 'winheight' also limits the number
|
| /vim-8.2.3635/runtime/pack/dist/opt/termdebug/plugin/ |
| H A D | termdebug.vim | 407 call s:SendCommand('set env ROWS = ' . winheight(s:ptywin)) 408 call s:SendCommand('set env LINES = ' . winheight(s:ptywin))
|