blob: b316017dc4dea1dda38e15a3f372d4e04844a9eb [file] [log] [blame]
Bram Moolenaar04c5c9e2013-07-09 13:44:59 +02001Test for 'scrollbind' causing an unexpected scroll of one of the windows.
2STARTTEST
3:so small.vim
4:source test98a.in
5:let topLineLeft = line('w0')
6:wincmd p
7:let topLineRight = line('w0')
8:setl noscrollbind
9:wincmd p
10:setl noscrollbind
11:q!
12:%del _
13:call setline(1, 'Difference between the top lines (left - right): ' . string(topLineLeft - topLineRight))
14:w! test.out
15:brewind
16ENDTEST
17
18STARTTEST
19:qa!
20ENDTEST
21