diff options
| author | Hinidu <hinidu@gmail.com> | 2014-04-08 22:21:07 +0300 |
|---|---|---|
| committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-04-10 16:56:42 -0300 |
| commit | 321c67d610f0e0a8e818cfbb10d966033eb7db58 (patch) | |
| tree | 5f49d3ee0b4f5418de81e382244358093c20ce1a /src/testdir | |
| parent | 2a0c6ff3efdc46ffb6e94adc918740b26e11547d (diff) | |
| download | rneovim-321c67d610f0e0a8e818cfbb10d966033eb7db58.tar.gz rneovim-321c67d610f0e0a8e818cfbb10d966033eb7db58.tar.bz2 rneovim-321c67d610f0e0a8e818cfbb10d966033eb7db58.zip | |
vim-patch:7.4.187
Problem: Delete that crosses line break splits multi-byte character.
Solution: Advance a character instead of a byte. (Cade Foster)
https://code.google.com/p/vim/source/detail?r=a1c07956171a133583df42627d3498f935e59988
Diffstat (limited to 'src/testdir')
| -rw-r--r-- | src/testdir/test69.in | 10 | ||||
| -rw-r--r-- | src/testdir/test69.ok | 3 |
2 files changed, 13 insertions, 0 deletions
diff --git a/src/testdir/test69.in b/src/testdir/test69.in index f18ee37905..75317b4954 100644 --- a/src/testdir/test69.in +++ b/src/testdir/test69.in @@ -155,6 +155,16 @@ ra test aab STARTTEST +:set whichwrap+=h +/^x +dh +:set whichwrap-=h +ENDTEST + +á +x + +STARTTEST :let a = '.é.' " one char of two bytes :let b = '.é.' " normal e with composing char /^byteidx diff --git a/src/testdir/test69.ok b/src/testdir/test69.ok index 1ff82f26bc..41cd9d02c3 100644 --- a/src/testdir/test69.ok +++ b/src/testdir/test69.ok @@ -150,6 +150,9 @@ aaaa aaa +áx + + byteidx [0, 1, 3, 4, -1] [0, 1, 4, 5, -1] |