view src/testdir/test98.in @ 5180:4104bed69ea5 v7.4a.016

updated for version 7.4a.016 Problem: Features enabled in Makefile. Solution: Undo accidental changes.
author Bram Moolenaar <bram@vim.org>
date Sat, 13 Jul 2013 15:39:33 +0200
parents 7a6ce0c426fe
children fa024ce48542
line wrap: on
line source

Test for 'scrollbind' causing an unexpected scroll of one of the windows.
STARTTEST
:so small.vim
:source test98a.in
:let topLineLeft = line('w0')
:wincmd p
:let topLineRight = line('w0')
:setl noscrollbind
:wincmd p
:setl noscrollbind
:q!
:%del _
:call setline(1, 'Difference between the top lines (left - right): ' . string(topLineLeft - topLineRight))
:w! test.out
:brewind
ENDTEST

STARTTEST
:qa!
ENDTEST