view src/testdir/test98a.in @ 5174:42d592dbbec3 v7.4a.013

updated for version 7.4a.013 Problem: Setting/resetting 'lbr' in the main help file changes alignment after a Tab. (Dimitar Dimitrov) Solution: Also use the code for conceal mode where n_extra is computed for 'lbr'.
author Bram Moolenaar <bram@vim.org>
date Sat, 13 Jul 2013 12:36:55 +0200
parents 7a6ce0c426fe
children fc6f4a653265
line wrap: on
line source

" We don't want the status line to cause problems:
set laststatus=0
redraw!
let g:totalLines = &lines * 20
let middle = g:totalLines / 2
wincmd n
wincmd o
for i in range(1, g:totalLines)
	call setline(i, 'LINE ' . i)
endfor

exe string(middle)
normal zt
normal M

aboveleft vert new
for i in range(1, g:totalLines)
	call setline(i, 'line ' . i)
endfor
exe string(middle)
normal zt
normal M
setl scb

wincmd p

call feedkeys(":setl scb\n\<C-w>\<C-w>", 't')