view src/testdir/test_utf8.in @ 6866:8ebcd7f1ff5b v7.4.753

patch 7.4.753 Problem: Appending in Visual mode with 'linebreak' set does not work properly. Also when 'selection' is "exclusive". (Ingo Karkat) Solution: Recalculate virtual columns. (Christian Brabandt)
author Bram Moolenaar <bram@vim.org>
date Thu, 25 Jun 2015 13:30:46 +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: