Jon Long wrote:

> I recently encountered the issue described below, namely that vim
> always redraws the previous character when using utf8 starting with
> version 7.1.329.
> 
> The purpose of the patch which created this issue was to ensure that
> the right half of double-width (two cell) characters was always
> redrawn after being obstructed (e.g., by popup menus). However, the
> fix seems to redraw _any_ character whenever the right-adjacent one
> changes.
> 
> I've attached a patch which fixes this issue by checking that
> characters are actually double-width before deciding to redraw them
> when their right-adjacent partners change. I've checked that this
> preserves the functionality of the original patch (the right half of a
> double-width character is still redrawn after being obstructed by a
> popup menu) while preventing single-width characters from being always
> redrawn.

Thanks for the patch.

You drop the "cols > 1" condition, was that intentional?


-- 
Place mark here ->[ ]<- if you want a dirty monitor.

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

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

Reply via email to