diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-10-31 03:21:25 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-10-31 03:21:25 +0100 |
commit | 77ccc00340ed2598f7aa09716217e878665964fa (patch) | |
tree | 2ae95620141cc298796c1cb6418e485d5d195d42 /src/testdir/test_virtualedit.vim | |
parent | 3f39697b73f661d6900c7cf5430d967a129660d7 (diff) |
patch 8.1.2235: "C" with 'virtualedit' set does not include multi-byte charv8.1.2235
Problem: "C" with 'virtualedit' set does not include multi-byte char.
Solution: Include the whole multi-byte char. (Nobuhiro Takasaki,
closes #5152)
Diffstat (limited to 'src/testdir/test_virtualedit.vim')
-rw-r--r-- | src/testdir/test_virtualedit.vim | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/testdir/test_virtualedit.vim b/src/testdir/test_virtualedit.vim index 67adede8d7..1e6b26a057 100644 --- a/src/testdir/test_virtualedit.vim +++ b/src/testdir/test_virtualedit.vim @@ -73,3 +73,12 @@ func Test_edit_CTRL_G() bwipe! set virtualedit= endfunc + +func Test_edit_change() + new + set virtualedit=all + call setline(1, "\t⒌") + normal Cx + call assert_equal('x', getline(1)) + bwipe! +endfunc |