mirror of
https://github.com/zoriya/vim.git
synced 2026-08-15 18:54:15 +00: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)