view src/testdir/test_utf8.in @ 6604:6eecaf5a18ca v7.4.628

updated for version 7.4.628 Problem: Compiler warning for variable might be clobbered by longjmp. Solution: Add volatile. (Michael Jarvis)
author Bram Moolenaar <bram@vim.org>
date Tue, 10 Feb 2015 19:27:05 +0100
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: