Re: Patch 7.4.755

2015-06-26 Fir de Conversatie Bram Moolenaar
gt; compatibility, you can define a wrapper function: > > > if has("patch-7.4.755") > function s:strchars(str, skipcc) > return strchars(a:str, a:skipcc) > endfunction >

Re: Patch 7.4.755

2015-06-26 Fir de Conversatie Bram Moolenaar
Hirohito Higashi wrote: > 2015-6-25(Thu) 23:09:44 UTC+9 Bram Moolenaar: > > Patch 7.4.755 > > Problem:It is not easy to count the number of characters. > > Solution: Add the skipcc argument to strchars(). (Hirohito Higashi, Ken > > Takata) > >

Re: Patch 7.4.755

2015-06-25 Fir de Conversatie Ken Takata
number of characters in String {expr}. When {skipcc} is omitted or zero, composing characters are counted separately. When {skipcc} set to 1, Composing characters are ignored. Also see |strlen()|, |strdisplaywidth()

Re: Patch 7.4.755

2015-06-25 Fir de Conversatie h_east
Hi Bram, 2015-6-25(Thu) 23:09:44 UTC+9 Bram Moolenaar: > Patch 7.4.755 > Problem:It is not easy to count the number of characters. > Solution: Add the skipcc argument to strchars(). (Hirohito Higashi, Ken > Takata) > Files: runtime/doc/eval.txt, src/eval

Patch 7.4.755

2015-06-25 Fir de Conversatie Bram Moolenaar
Patch 7.4.755 Problem:It is not easy to count the number of characters. Solution: Add the skipcc argument to strchars(). (Hirohito Higashi, Ken Takata) Files: runtime/doc/eval.txt, src/eval.c, src/testdir/test_utf8.in, src/testdir/test_utf8.ok *** ../vim