Mercurial > hg > RemoteEditor > vim7
diff src/testdir/test62.in @ 0:76efa0be13f1
Initial revision
author | atsuki |
---|---|
date | Sat, 10 Nov 2007 15:07:22 +0900 |
parents | |
children | c16898406ff2 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/testdir/test62.in Sat Nov 10 15:07:22 2007 +0900 @@ -0,0 +1,34 @@ +Tests for tab pages + +STARTTEST +:so small.vim +:" Simple test for opening and closing a tab page +:tabnew +:let nr = tabpagenr() +:q +:call append(line('$'), 'tab page ' . nr) +:unlet nr +:" +:" Open three tab pages and use ":tabdo" +:0tabnew +:1tabnew +:888tabnew +:tabdo call append(line('$'), 'this is tab page ' . tabpagenr()) +:tabclose! 2 +:tabrewind +:let line1 = getline('$') +:undo +:q +:tablast +:let line2 = getline('$') +:q! +:call append(line('$'), line1) +:call append(line('$'), line2) +:unlet line1 line2 +:" +:" +:/^Results/,$w! test.out +:qa! +ENDTEST + +Results: