forked from aniani/vim
updated for version 7.4.315
Problem: Fixes for computation of topline not tested. Solution: Add test. (Hirohito Higashi)
This commit is contained in:
@@ -35,7 +35,7 @@ SCRIPTS = test1.out test3.out test4.out test5.out test6.out \
|
|||||||
test89.out test90.out test91.out test92.out test93.out \
|
test89.out test90.out test91.out test92.out test93.out \
|
||||||
test94.out test95.out test96.out test97.out test98.out \
|
test94.out test95.out test96.out test97.out test98.out \
|
||||||
test99.out test100.out test101.out test102.out test103.out \
|
test99.out test100.out test101.out test102.out test103.out \
|
||||||
test104.out test105.out test106.out \
|
test104.out test105.out test106.out test107.out \
|
||||||
test_autoformat_join.out \
|
test_autoformat_join.out \
|
||||||
test_eval.out \
|
test_eval.out \
|
||||||
test_options.out
|
test_options.out
|
||||||
@@ -161,6 +161,7 @@ test103.out: test103.in
|
|||||||
test104.out: test104.in
|
test104.out: test104.in
|
||||||
test105.out: test105.in
|
test105.out: test105.in
|
||||||
test106.out: test106.in
|
test106.out: test106.in
|
||||||
|
test107.out: test107.in
|
||||||
test_autoformat_join.out: test_autoformat_join.in
|
test_autoformat_join.out: test_autoformat_join.in
|
||||||
test_eval.out: test_eval.in
|
test_eval.out: test_eval.in
|
||||||
test_options.out: test_options.in
|
test_options.out: test_options.in
|
||||||
|
@@ -34,7 +34,7 @@ SCRIPTS = test3.out test4.out test5.out test6.out test7.out \
|
|||||||
test89.out test90.out test91.out test92.out test93.out \
|
test89.out test90.out test91.out test92.out test93.out \
|
||||||
test94.out test95.out test96.out test98.out test99.out \
|
test94.out test95.out test96.out test98.out test99.out \
|
||||||
test100.out test101.out test102.out test103.out test104.out \
|
test100.out test101.out test102.out test103.out test104.out \
|
||||||
test105.out test106.out \
|
test105.out test106.out test107.out\
|
||||||
test_autoformat_join.out \
|
test_autoformat_join.out \
|
||||||
test_eval.out \
|
test_eval.out \
|
||||||
test_options.out
|
test_options.out
|
||||||
|
@@ -54,7 +54,7 @@ SCRIPTS = test3.out test4.out test5.out test6.out test7.out \
|
|||||||
test89.out test90.out test91.out test92.out test93.out \
|
test89.out test90.out test91.out test92.out test93.out \
|
||||||
test94.out test95.out test96.out test98.out test99.out \
|
test94.out test95.out test96.out test98.out test99.out \
|
||||||
test100.out test101.out test102.out test103.out test104.out \
|
test100.out test101.out test102.out test103.out test104.out \
|
||||||
test105.out test106.out \
|
test105.out test106.out test107.out \
|
||||||
test_autoformat_join.out \
|
test_autoformat_join.out \
|
||||||
test_eval.out \
|
test_eval.out \
|
||||||
test_options.out
|
test_options.out
|
||||||
|
@@ -36,7 +36,7 @@ SCRIPTS = test1.out test3.out test4.out test5.out test6.out \
|
|||||||
test89.out test90.out test91.out test92.out test93.out \
|
test89.out test90.out test91.out test92.out test93.out \
|
||||||
test94.out test95.out test96.out test98.out test99.out \
|
test94.out test95.out test96.out test98.out test99.out \
|
||||||
test100.out test101.out test102.out test103.out test104.out \
|
test100.out test101.out test102.out test103.out test104.out \
|
||||||
test105.out test106.out \
|
test105.out test106.out test107.out \
|
||||||
test_autoformat_join.out \
|
test_autoformat_join.out \
|
||||||
test_eval.out \
|
test_eval.out \
|
||||||
test_options.out
|
test_options.out
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
# Authors: Zoltan Arpadffy, <arpadffy@polarhome.com>
|
# Authors: Zoltan Arpadffy, <arpadffy@polarhome.com>
|
||||||
# Sandor Kopanyi, <sandor.kopanyi@mailbox.hu>
|
# Sandor Kopanyi, <sandor.kopanyi@mailbox.hu>
|
||||||
#
|
#
|
||||||
# Last change: 2014 Mar 12
|
# Last change: 2014 May 28
|
||||||
#
|
#
|
||||||
# This has been tested on VMS 6.2 to 8.3 on DEC Alpha, VAX and IA64.
|
# This has been tested on VMS 6.2 to 8.3 on DEC Alpha, VAX and IA64.
|
||||||
# Edit the lines in the Configuration section below to select.
|
# Edit the lines in the Configuration section below to select.
|
||||||
@@ -95,7 +95,7 @@ SCRIPT = test1.out test2.out test3.out test4.out test5.out \
|
|||||||
test90.out test91.out test92.out test93.out test94.out \
|
test90.out test91.out test92.out test93.out test94.out \
|
||||||
test95.out test96.out test98.out test99.out \
|
test95.out test96.out test98.out test99.out \
|
||||||
test100.out test101.out test103.out test104.out \
|
test100.out test101.out test103.out test104.out \
|
||||||
test105.out test106.out \
|
test105.out test106.out test107.out \
|
||||||
test_autoformat_join.out \
|
test_autoformat_join.out \
|
||||||
test_eval.out \
|
test_eval.out \
|
||||||
test_options.out
|
test_options.out
|
||||||
|
@@ -32,7 +32,7 @@ SCRIPTS = test1.out test2.out test3.out test4.out test5.out test6.out \
|
|||||||
test89.out test90.out test91.out test92.out test93.out \
|
test89.out test90.out test91.out test92.out test93.out \
|
||||||
test94.out test95.out test96.out test97.out test98.out \
|
test94.out test95.out test96.out test97.out test98.out \
|
||||||
test99.out test100.out test101.out test102.out test103.out \
|
test99.out test100.out test101.out test102.out test103.out \
|
||||||
test104.out test105.out test106.out \
|
test104.out test105.out test106.out test107.out \
|
||||||
test_autoformat_join.out \
|
test_autoformat_join.out \
|
||||||
test_eval.out \
|
test_eval.out \
|
||||||
test_options.out
|
test_options.out
|
||||||
|
38
src/testdir/test107.in
Normal file
38
src/testdir/test107.in
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
Tests for adjusting window and contents vim: set ft=vim :
|
||||||
|
|
||||||
|
STARTTEST
|
||||||
|
:so small.vim
|
||||||
|
:new
|
||||||
|
:call setline(1, range(1,256))
|
||||||
|
:let r=[]
|
||||||
|
:func! GetScreenStr(row)
|
||||||
|
: let str = ""
|
||||||
|
: for c in range(1,3)
|
||||||
|
: let str .= nr2char(screenchar(a:row, c))
|
||||||
|
: endfor
|
||||||
|
: return str
|
||||||
|
:endfunc
|
||||||
|
:
|
||||||
|
:exe ":norm! \<C-W>t\<C-W>=1Gzt\<C-W>w\<C-W>+"
|
||||||
|
:let s3=GetScreenStr(1)
|
||||||
|
:wincmd p
|
||||||
|
:call add(r, [line("w0"), s3])
|
||||||
|
:
|
||||||
|
:exe ":norm! \<C-W>t\<C-W>=50Gzt\<C-W>w\<C-W>+"
|
||||||
|
:let s3=GetScreenStr(1)
|
||||||
|
:wincmd p
|
||||||
|
:call add(r, [line("w0"), s3])
|
||||||
|
:
|
||||||
|
:exe ":norm! \<C-W>t\<C-W>=59Gzt\<C-W>w\<C-W>+"
|
||||||
|
:let s3=GetScreenStr(1)
|
||||||
|
::wincmd p
|
||||||
|
:call add(r, [line("w0"), s3])
|
||||||
|
:
|
||||||
|
:bwipeout!
|
||||||
|
:$put=r
|
||||||
|
:call garbagecollect(1)
|
||||||
|
:"
|
||||||
|
:/^start:/,$wq! test.out
|
||||||
|
ENDTEST
|
||||||
|
|
||||||
|
start:
|
4
src/testdir/test107.ok
Normal file
4
src/testdir/test107.ok
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
start:
|
||||||
|
[1, '1 ']
|
||||||
|
[50, '50 ']
|
||||||
|
[59, '59 ']
|
@@ -734,6 +734,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
315,
|
||||||
/**/
|
/**/
|
||||||
314,
|
314,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user