Mercurial > vim
comparison src/testdir/test_virtualedit.vim @ 18481:26256dcadd77 v8.1.2235
patch 8.1.2235: "C" with 'virtualedit' set does not include multi-byte char
Commit: https://github.com/vim/vim/commit/77ccc00340ed2598f7aa09716217e878665964fa
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Oct 31 03:21:25 2019 +0100
patch 8.1.2235: "C" with 'virtualedit' set does not include multi-byte char
Problem: "C" with 'virtualedit' set does not include multi-byte char.
Solution: Include the whole multi-byte char. (Nobuhiro Takasaki,
closes #5152)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 31 Oct 2019 03:30:03 +0100 |
parents | 2dcaa860e3fc |
children | 50fde4e20790 |
comparison
equal
deleted
inserted
replaced
18480:974699057771 | 18481:26256dcadd77 |
---|---|
71 | 71 |
72 | 72 |
73 bwipe! | 73 bwipe! |
74 set virtualedit= | 74 set virtualedit= |
75 endfunc | 75 endfunc |
76 | |
77 func Test_edit_change() | |
78 new | |
79 set virtualedit=all | |
80 call setline(1, "\t⒌") | |
81 normal Cx | |
82 call assert_equal('x', getline(1)) | |
83 bwipe! | |
84 endfunc |