On Thu, Sep 4, 2008 at 4:09 PM, Bram Moolenaar wrote:
>
> Tyler Spivey wrote:
>
>> hello. I have noticed that starting from 7.1.329, using vim in the
>> console with the encoding set
>> to utf8, there is a bug with redrawing characters.
>> The characters show up on the screen fine (at least to my screen
>> reader), but my screen reader is reading out the character that I
>> type, then the one before the one I just typed, then the one I typed
>> again.  for example, I type 12345. On the 2, it says
>> "1 12". 3 says "2 23", etc.
>> if I comment out these lines that were changed by the patch, it works fine:
>>                       || (cols > 1 && ScreenLines[off_from + 1]
>>                                                != ScreenLines[off_to + 1])))
>>
>> I've confirmed this also effects 7.2.009.
>
> That condition is needed for when the right halve of a double-wide
> character is drawn over any character that used to be there.  We can't
> simply remove it.
>
> Are you typing this at the end of the line, not pushing any characters
> forward?  And those numbers are really ASCII digits?

I can confirm this.  The numbers are really ASCII digits being added at EOL.

>> I'm not sure, but while we're on the subject of redraw bugs,
>> every character I type on the command line, e.g. :12345, causes the
>> command line to be redrawn. Is there a quick fix for this one also?
>> I'm running vim on Linux. If
>> you need any other information, I can provide it.
>
> That might be difficult to change.  But I don't see this happening.  Do
> you have any special settings?  Try resetting 'arabicshape', as Ingo
> suggested.

I can reproduce this one as well, and can also confirm that resetting
'arabicshape' seems to fix it.

~Matt

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui