diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-03-14 19:02:09 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-03-14 19:02:09 +0100 |
commit | 70ce8a1561c5396e4c4381f76a005cbb97646f80 (patch) | |
tree | ed4c9ae3c5e62d9f2880fb01c267ada1df76bff0 /runtime/doc/usr_41.txt | |
parent | 0289a093a4d65c6280a3be118d1d3696d1aa74da (diff) | |
download | vim-git-70ce8a1561c5396e4c4381f76a005cbb97646f80.tar.gz |
patch 8.2.2606: strchars() defaults to counting composing charactersv8.2.2606
Problem: strchars() defaults to counting composing characters.
Solution: Add strcharlen() which ignores composing characters.
Diffstat (limited to 'runtime/doc/usr_41.txt')
-rw-r--r-- | runtime/doc/usr_41.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/doc/usr_41.txt b/runtime/doc/usr_41.txt index 8113bef8e..0d17298fb 100644 --- a/runtime/doc/usr_41.txt +++ b/runtime/doc/usr_41.txt @@ -611,7 +611,8 @@ String manipulation: *string-functions* stridx() first index of a short string in a long string strridx() last index of a short string in a long string strlen() length of a string in bytes - strchars() length of a string in characters + strcharlen() length of a string in characters + strchars() number of characters in a string strwidth() size of string when displayed strdisplaywidth() size of string when displayed, deals with tabs setcellwidths() set character cell width overrides |