view src/testdir/test_utf8.in @ 6815:f0e7dc5e7282 v7.4.729

patch 7.4.729 Problem: Occasional crash with 'list' set. Solution: Fix off-by-one error. (Christian Brabandt)
author Bram Moolenaar <bram@vim.org>
date Thu, 14 May 2015 05:56:09 +0200
parents 4c08173b8b95
children 66ab6ec256d1
line wrap: on
line source

Tests for Unicode manipulations                vim: set ft=vim :
 
STARTTEST
:so small.vim
:set encoding=utf-8
:" Visual block Insert adjusts for multi-byte char
:new
:call setline(1, ["aaa", "あああ", "bbb"])
:exe ":norm! gg0l\<C-V>jjIx\<Esc>"
:let r = getline(1, '$')
:
:bwipeout!
:$put=r
:call garbagecollect(1)
:/^start:/,$wq! test.out
ENDTEST
 
start: