view src/testdir/test_erasebackword.in @ 6817:cd47def2214a v7.4.730

patch 7.4.730 Problem: When setting the crypt key and using a swap file, text may be encrypted twice or unencrypted text remains in the swap file. (Issue 369) Solution: Call ml_preserve() before re-encrypting. Set correct index for next pointer block.
author Bram Moolenaar <bram@vim.org>
date Tue, 09 Jun 2015 18:35:25 +0200
parents f202e335d491
children ae45d497868f
line wrap: on
line source

Test for erasing backword

STARTTEST
:so small.vim
:so mbyte.vim
:set encoding=utf-8
G
o wwwこんにちわ世界ワールドvim 
o wwwこんにちわ世界ワールドvim 
o wwwこんにちわ世界ワールドvim 
o wwwこんにちわ世界ワールドvim 
o wwwこんにちわ世界ワールドvim 
o wwwこんにちわ世界ワールドvim 
:/^test/,$w! test.out
:qa!
ENDTEST

test starts here: