On Wed, Sep 7, 2016 at 6:38 AM, Eric Pruitt <eric.pru...@gmail.com> wrote:
> On Sun, Aug 28, 2016 at 05:58:48PM -0700, Eric Pruitt wrote:
>> On Sun, Aug 28, 2016 at 05:26:01PM -0700, Eric Pruitt wrote:
>> > I am Vim 7.4.2289, and I have noticed a problem with multibyte
>> > characters and the cursor. I have attached a test file and a picture
>> > showing the problem. When I press a button to move the cursor to the
>> > right one character, it jumps 2 spaces instead of one even though the
>> > glyph only spans a single column. If you look at the picture, you can
>> > see that there is also a black / empty rectangle that should not be
>> > there. I have also included my terminals definition as shown by "infocmp
>> > $TERM."
>>
>> I used git-bisect to determine that the problem was introduced in commit
>> 04e2b4b0c4866586ecce3d1567f9b0bdeeb31f15 / patch 7.4.1960:
>>
>>     commit 04e2b4b0c4866586ecce3d1567f9b0bdeeb31f15
>>     Author: Bram Moolenaar <b...@vim.org>
>>     Date:   Sun Jun 26 17:53:07 2016 +0200
>>
>>         patch 7.4.1960
>>         Problem:    Unicode standard 9 was released.
>>         Solution:   Update the character property tables. (Christian 
>> Brabandt)
>>
>>      src/mbyte.c   | 144
>>      src/version.c |   2
>>      2 files changed, 132 insertions(+), 14 deletions(-)
>
> Has anyone looked into this? Broken Unicode support seems like a pretty
> severe regression to me.
>
> Eric
>

This is not broken Unicode support. According to
http://www.unicode.org/Public/UCD/latest/ucd/EastAsianWidth.txt (the
latest version of the "width" database, currently at version 9.0.0),
codepoint U+26A1 HIGH VOLTAGE SIGN has width "W" (wide). The possible
values are N (neutral), Na (narrow), W (wide), H (halfwidth), F
(fullwidth) and A (ambiguous).

If that character was previously regarded by Vim as occupying only one
character cell, then making CJK-wide fixes a bug rather than creating
a regression.

Best regards,
Tony.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui