File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11Test for 'scrollbind' causing an unexpected scroll of one of the windows.
22STARTTEST
33:so small.vim
4- :source test98a.in
4+ :" We don't want the status line to cause problems:
5+ :set laststatus=0
6+ :let g:totalLines = &lines * 20
7+ :let middle = g:totalLines / 2
8+ :wincmd n
9+ :wincmd o
10+ :for i in range(1, g:totalLines)
11+ : call setline(i, 'LINE ' . i)
12+ :endfor
13+ :exe string(middle)
14+ :normal zt
15+ :normal M
16+ :aboveleft vert new
17+ :for i in range(1, g:totalLines)
18+ : call setline(i, 'line ' . i)
19+ :endfor
20+ :exe string(middle)
21+ :normal zt
22+ :normal M
23+ :" Execute the following two command at once to reproduce the problem.
24+ :setl scb | wincmd p
25+ :setl scb
26+ :wincmd w
527:let topLineLeft = line('w0')
628:wincmd p
729:let topLineRight = line('w0')
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -727,6 +727,8 @@ static char *(features[]) =
727727
728728static int included_patches [] =
729729{ /* Add new patch number below this line */
730+ /**/
731+ 33 ,
730732/**/
731733 32 ,
732734/**/
You can’t perform that action at this time.
0 commit comments