view src/testdir/test38.in @ 7352:ddab7ae8796d v7.4.981

commit https://github.com/vim/vim/commit/4686b323e4bc0f466500b018959f6c8965f010f9 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Dec 28 14:44:10 2015 +0100 patch 7.4.981 Problem: An error in a test script goes unnoticed. Solution: Source the test script inside try/catch. (Hirohito Higashi)
author Christian Brabandt <cb@256bit.org>
date Mon, 28 Dec 2015 14:45:04 +0100
parents 4541e06d4fb9
children
line wrap: on
line source


Test Virtual replace mode.

STARTTEST
:so small.vim
:" make sure that backspace works, no matter what termcap is used
:set t_kD=x7f t_kb=x08
ggdGa
abcdefghi
jk	lmn
    opq	rst
uvwxyz
gg:set ai
:set bs=2
gR0 1
A
BCDEFGHIJ
	KL
MNO
PQRG:ka
o0
abcdefghi
jk	lmn
    opq	rst
uvwxyz
'ajgR0 1
A
BCDEFGHIJ
	KL
MNO
PQR:$
iab	cdefghi	jkl0gRAB......CDEFGHI.Jo:
iabcdefghijklmnopqrst0gRAB	IJKLMNO	QR:wq! test.out
ENDTEST