Mercurial > vim
diff src/testdir/test69.in @ 4203:eea32254940f v7.3.853
updated for version 7.3.853
Problem: Using "ra" in multiple lines on multi-byte characters leaves a few
characters not replaced.
Solution: Adjust the end column only in the last line. (Yasuhiro Matsumoto)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 07 Mar 2013 18:50:57 +0100 |
parents | d179a8eff9d7 |
children | 3109053ce4e3 |
line wrap: on
line diff
--- a/src/testdir/test69.in +++ b/src/testdir/test69.in @@ -1,5 +1,6 @@ Test for multi-byte text formatting. Also test, that 'mps' with multibyte chars works. +And test "ra" on multi-byte characters. STARTTEST :so mbyte.vim @@ -144,6 +145,15 @@ ENDTEST ‘ two three ’ four } STARTTEST +/^ra test +jVjra +ENDTEST + +ra test +abba +aab + +STARTTEST :g/^STARTTEST/.,/^ENDTEST/d :1;/^Results/,$wq! test.out ENDTEST