Mercurial > vim
annotate 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 |
rev | line source |
---|---|
6142 | 1 Tests for Unicode manipulations vim: set ft=vim : |
2 | |
3 STARTTEST | |
4 :so small.vim | |
5 :set encoding=utf-8 | |
6 :" Visual block Insert adjusts for multi-byte char | |
7 :new | |
8 :call setline(1, ["aaa", "あああ", "bbb"]) | |
9 :exe ":norm! gg0l\<C-V>jjIx\<Esc>" | |
10 :let r = getline(1, '$') | |
11 : | |
12 :bwipeout! | |
13 :$put=r | |
14 :call garbagecollect(1) | |
15 :/^start:/,$wq! test.out | |
16 ENDTEST | |
17 | |
18 start: |