hello bram and all. clear_next_cell don't work correctly. on some case, following text will be erased. this happend with text included underline. old text: ...
630
Yasuhiro Matsumoto
mattn_jp@...
Apr 18, 2002 10:26 am
... Hmm, I guess that the patch should be included. if leadbyte erase by single-width character, double-width character will be broken. Then, the trailbyte and...
631
Bram Moolenaar
Bram@...
Apr 19, 2002 5:22 am
... I don't see how this can go wrong, unless the mb_off2cells() call gives a wrong result. I guess that might happen when it's called with an offset that...
632
Bram Moolenaar
Bram@...
Apr 20, 2002 8:27 pm
... That's not what I was asking. Where you say "mbyte_cells become 2", I don't understand it. mbyte_cells is 1 when displaying the extra " ". Do you mean...
633
Yasuhiro Matsumoto
mattn_jp@...
Apr 22, 2002 1:03 am
... And your said is true. I'm explaining again, sorry. For example, putting ' ' on '[][]'. [][] : mbyte_cell=2, (*mb_off2cell)(off)=2,...
634
Yasuhiro Matsumoto
mattn_jp@...
Apr 22, 2002 1:11 am
... I had sent the e-mail included typo. ... This is my fault. And your said is true. ... .......... Thanks. -- Yasuhiro ...
635
Bram Moolenaar
Bram@...
Apr 22, 2002 6:20 pm
... Well, I can predict that if we fix it this way, the problem with mb_off2cell() will pop up later anyway. Since the utf-8 version of this function returns...
636
Yasuhiro Matsumoto
mattn_jp@...
Apr 23, 2002 2:39 am
... Hmm..., this is problem of this logic. mb_off2cells should work correctly if the string is not broken. but clear_next_cell might break the combination for...
637
Bram Moolenaar
Bram@...
Apr 23, 2002 8:38 am
... Yeah, that makes it complicated. The utf-8 character is stored separately, which means this is still available even when the left halve of the wide...
638
Yasuhiro Matsumoto
mattn_jp@...
Apr 23, 2002 9:38 am
... It happened some time with few specified dbcs character. The character have possible to be made by trailbyte and leadbyte. I'm testing before sent the last...
639
Bram Moolenaar
Bram@...
May 6, 2002 6:42 pm
I will be present at the upcoming SANE 2002 conference. I'm actually doing a poster session on A-A-P, but they won't stop us from talking about Vim :-)....
640
youlgok
youlgok@...
May 10, 2002 8:42 am
Hi, All: I am using Vim on windows98. I know Windows98 doesn't support Unicode(UTF-8), but Vim does. Can I still use Unicode on GVim on windows98? Thanks. ...
641
alexandre.elias@...
Jun 4, 2002 2:12 am
Hi, I've been using vim 6.1/w2k/GUI with GIME support for my Japanese text editing for some days now. Generally I've been impressed by how solid the support...
642
Glenn Maynard
glenn@...
Jun 4, 2002 6:33 pm
... wcwidth() thinks U+25CF is single-width, but it's double-width in the Windows fonts. This is a fairly common bug; it happens with Unicode open- and...
643
Bram Moolenaar
Bram@...
Jun 4, 2002 6:37 pm
... This sounds like a font problem. I don't find a remark in the Unicode list for character 0x25CF to be double width. ... This has been discussed, and the...
644
Bram Moolenaar
Bram@...
Jun 4, 2002 6:50 pm
... It would be good to avoid the display to be messed up. If just this one character isn't displayed correctly that's not much of a problem (leave out half...
645
Glenn Maynard
glenn@...
Jun 4, 2002 7:11 pm
... It's at least five characters: U+25CF, U+2018, U+2019, U+201C, U+201D. I'm considering throwing together a program to see if there are others. ... They...
646
Glenn Maynard
glenn@...
Jun 4, 2002 7:22 pm
... The IME in Windows, when enabled, enters Japanese by default. If I want to enter English, I turn it off. (Actually, reverse that; if I want to type...
647
Bram Moolenaar
Bram@...
Jun 4, 2002 9:05 pm
... In Normal mode IME should always be off by default (and it can only be switched on by some key chord, I suppose). That it's on sounds like a bug. ... I...
648
Glenn Maynard
glenn@...
Jun 4, 2002 9:41 pm
... I don't recall. However, Vim is very exceptional in enabling the IME explicitely (in any mode) by default. ... Who originally implemented the Windows IME...
... [..] Phew, that's a lot. ... Sounds like a good idea. Does the same trick also work to turn a proportionally spaced font into fixed-width? That's an item...
651
Glenn Maynard
glenn@...
Jun 5, 2002 5:33 pm
... I think it'd use too much memory. (I have a different idea, using the width array parameter of the font rendering function.) I'll keep it in mind,...
652
alexandre.elias@...
Jun 6, 2002 12:25 am
... Yeah, I'll look into it and try to come up with a patch when I have the time. From what I've seen of the code, intercepting and killing the IME in...
653
Glenn Maynard
glenn@...
Jul 13, 2002 3:14 am
I'm fixing up the clipboard patch, and I'm hitting some problems with convert_setup; it forces to and from to utf-8 for all encodings. What needs this? I...
654
Bram Moolenaar
Bram@...
Jul 13, 2002 12:15 pm
... Vim internally uses UTF-8 for all unicode encodings, also for UCS-2. convert_setup() isn't a fully generic function, it's only for its specific use in Vim....
655
Glenn Maynard
glenn@...
Jul 13, 2002 10:04 pm
Attached is a mostly cosmetic patch to mbyte.c. None of this affects the clipboard patch, so I've separated it out. Clarify comments. "Ignores following...
656
Bram Moolenaar
Bram@...
Jul 14, 2002 10:52 am
... Looks like a good bunch of changes. I'll include the patch. Question: You changed UTF-16 to UCS-2 in several places. Are you sure this is correct? I...
657
Glenn Maynard
glenn@...
Jul 14, 2002 6:26 pm
... Hmm. You're probably right; thinking about it, I'm really not sure. ... For this code, it shouldn't, since it's only used for the IME which probably won't...
658
Bram Moolenaar
Bram@...
Jul 14, 2002 7:47 pm
... As far as I know, MS-Windows only supports UCS-2 so far, but since they finally discovered that 16 bits is not enough (just like 640 Kbyte wasn't enough!...