Mercurial > vim
comparison runtime/doc/usr_41.txt @ 24130:c3d1f65365c4 v8.2.2606
patch 8.2.2606: strchars() defaults to counting composing characters
Commit: https://github.com/vim/vim/commit/70ce8a1561c5396e4c4381f76a005cbb97646f80
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 14 19:02:09 2021 +0100
patch 8.2.2606: strchars() defaults to counting composing characters
Problem: strchars() defaults to counting composing characters.
Solution: Add strcharlen() which ignores composing characters.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 14 Mar 2021 19:15:03 +0100 |
parents | 5b37a0bf7e3a |
children | 4ab4ef0c48b1 |
comparison
equal
deleted
inserted
replaced
24129:147967e557f7 | 24130:c3d1f65365c4 |
---|---|
609 matchstrpos() match and positions of a pattern in a string | 609 matchstrpos() match and positions of a pattern in a string |
610 matchlist() like matchstr() and also return submatches | 610 matchlist() like matchstr() and also return submatches |
611 stridx() first index of a short string in a long string | 611 stridx() first index of a short string in a long string |
612 strridx() last index of a short string in a long string | 612 strridx() last index of a short string in a long string |
613 strlen() length of a string in bytes | 613 strlen() length of a string in bytes |
614 strchars() length of a string in characters | 614 strcharlen() length of a string in characters |
615 strchars() number of characters in a string | |
615 strwidth() size of string when displayed | 616 strwidth() size of string when displayed |
616 strdisplaywidth() size of string when displayed, deals with tabs | 617 strdisplaywidth() size of string when displayed, deals with tabs |
617 setcellwidths() set character cell width overrides | 618 setcellwidths() set character cell width overrides |
618 substitute() substitute a pattern match with a string | 619 substitute() substitute a pattern match with a string |
619 submatch() get a specific match in ":s" and substitute() | 620 submatch() get a specific match in ":s" and substitute() |