Lines Matching refs:winheight

10   call assert_equal(0, &lines - &cmdheight - winheight(0))
16 call assert_equal(0, &lines - &cmdheight - winheight(0))
29 let ac = &lines - (&cmdheight + winheight(0) + !!v)
33 let ac = &lines - (&cmdheight + winheight(0) + !!v)
103 call assert_equal(3, winheight(0))
115 call assert_equal(winheight(1), winheight(2))
301 let [wh1, wh2] = [winheight(1), winheight(2)]
307 call assert_equal(wh1 - 1, winheight(1))
308 call assert_equal(wh2 + 1, winheight(2))
311 call assert_equal(wh1, winheight(1))
312 call assert_equal(wh2, 2->winheight())
315 call assert_equal(2, winheight(1))
316 call assert_equal(wh1 + wh2 - 2, winheight(2))
319 call assert_equal(wh1, winheight(1))
320 call assert_equal(wh2, winheight(2))
325 let [wh1, wh2, wh3] = [winheight(1), winheight(2), winheight(3)]
326 call assert_equal(2, winheight(2))
329 call assert_equal(2, winheight(2))
330 call assert_equal(wh1 + 3, winheight(1))
331 call assert_equal(wh3 - 3, winheight(3))
333 call assert_equal(2, winheight(2))
334 call assert_equal(wh1, winheight(1))
335 call assert_equal(wh3, 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)
421 let height_3 = winheight(3)
422 let height_4 = winheight(4)
425 call assert_notequal(height_1, winheight(1))
426 call assert_notequal(height_2, winheight(2))
427 call assert_notequal(height_3, winheight(3))
428 call assert_notequal(height_4, winheight(4))
429 call assert_equal(winheight(1), winheight(3))
430 call assert_equal(winheight(2), winheight(4))
438 let height_1 = winheight(1)
439 let height_2 = winheight(2)
440 let height_4 = winheight(4)
441 let height_5 = winheight(5)
446 call assert_notequal(height_1, winheight(1))
447 call assert_notequal(height_2, winheight(2))
448 call assert_equal(height_4, winheight(3))
449 call assert_equal(height_5, winheight(4))
483 call assert_equal(2, winheight(0))
492 call assert_equal(4, winheight(0))
643 call assert_equal(2, winheight(0))
646 call assert_notequal(2, winheight(0))
649 call assert_equal(2, winheight(0))
743 let height = winheight(0)
744 while winheight(0) > 2
751 while winheight(0) < height
756 while winheight(0) > 2
907 call assert_equal(-1, winheight(-1))
1153 call assert_equal(8, winheight(0))
1155 call assert_equal(10, winheight(0))
1157 call assert_equal(8, winheight(0))
1159 call assert_equal(&lines - 4, winheight(0))
1161 call assert_equal(1, winheight(0))
1163 call assert_equal(&lines - 4, winheight(0))
1168 call assert_equal(10, winheight(other_winnr))
1169 call assert_equal(&lines - 10 - 3, winheight(0))
1172 call assert_equal(12, winheight(other_winnr))
1173 call assert_equal(&lines - 10 - 3 -2, winheight(0))