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'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.

-- 
The History of every major Galactic Civilization tends to pass through
three distinct and recognizable phases, those of Survival, Inquiry and
Sophistication, otherwise known as the How, Why and Where phases.
For instance, the first phase is characterized by the question 'How can
we eat?' the second by the question 'Why do we eat?' and the third by
the question 'Where shall we have lunch?'
                -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

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

Raspunde prin e-mail lui