comparison src/testdir/test98a.in @ 5157:7a6ce0c426fe v7.4a.005

updated for version 7.4a.005 Problem: Scroll binding causes unexpected scroll. Solution: Store the topline after updating scroll binding. Add a test. (Lech Lorens)
author Bram Moolenaar <bram@vim.org>
date Tue, 09 Jul 2013 13:44:59 +0200
parents
children fc6f4a653265
comparison
equal deleted inserted replaced
5156:d61d9549c1e2 5157:7a6ce0c426fe
1 " We don't want the status line to cause problems:
2 set laststatus=0
3 redraw!
4 let g:totalLines = &lines * 20
5 let middle = g:totalLines / 2
6 wincmd n
7 wincmd o
8 for i in range(1, g:totalLines)
9 call setline(i, 'LINE ' . i)
10 endfor
11
12 exe string(middle)
13 normal zt
14 normal M
15
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 setl scb
24
25 wincmd p
26
27 call feedkeys(":setl scb\n\<C-w>\<C-w>", 't')