mirror of
https://github.com/vim/vim.git
synced 2026-02-15 11:53:58 +01: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)