mirror of
https://github.com/vim/vim.git
synced 2026-04-17 09:05:41 +02:00
Problem: charidx() and utf16idx() result is not consistent with byteidx().
Solution: When the index is equal to the length of the text return the
lenght of the text instead of -1. (Yegappan Lakshmanan,
closes #12503)