]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.1717: virtcol2col returns last byte of a multi-byte char v9.0.1717
authorYegappan Lakshmanan <yegappan@yahoo.com>
Tue, 15 Aug 2023 21:01:44 +0000 (23:01 +0200)
committerChristian Brabandt <cb@256bit.org>
Tue, 15 Aug 2023 21:01:44 +0000 (23:01 +0200)
commitb209b86e6636a16088ccacdac98213416c065bf2
treeb6eb5f5ab5c0ab74a46a7d1ba0cd6e61e5548780
parent15a0a0281a060fd5968ca2f3c80e750137106adb
patch 9.0.1717: virtcol2col returns last byte of a multi-byte char

Problem: virtcol2col returns last byte of a multi-byte char
Solution: Make it return the first byte for a multi-byte char

closes: #12786
closes: #12799

Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
runtime/doc/builtin.txt
src/move.c
src/testdir/test_cursor_func.vim
src/version.c