Patch 7.3.638
Problem:    Unecessary redraw of the previous character.
Solution:   Check if the character is double-width. (Jon Long)
Files:      src/screen.c


*** ../vim-7.3.637/src/screen.c 2012-07-10 16:49:08.000000000 +0200
--- src/screen.c        2012-08-23 18:49:33.000000000 +0200
***************
*** 5332,5339 ****
                    && (ScreenLinesUC[off_from] != ScreenLinesUC[off_to]
                        || (ScreenLinesUC[off_from] != 0
                            && comp_char_differs(off_from, off_to))
!                       || (cols > 1 && ScreenLines[off_from + 1]
!                                                != ScreenLines[off_to + 1])))
  #endif
               ))
        return TRUE;
--- 5332,5340 ----
                    && (ScreenLinesUC[off_from] != ScreenLinesUC[off_to]
                        || (ScreenLinesUC[off_from] != 0
                            && comp_char_differs(off_from, off_to))
!                       || ((*mb_off2cells)(off_from, off_from + cols) > 1
!                           && ScreenLines[off_from + 1]
!                                                 != ScreenLines[off_to + 1])))
  #endif
               ))
        return TRUE;
*** ../vim-7.3.637/src/version.c        2012-08-23 18:43:06.000000000 +0200
--- src/version.c       2012-08-23 18:47:11.000000000 +0200
***************
*** 721,722 ****
--- 721,724 ----
  {   /* Add new patch number below this line */
+ /**/
+     638,
  /**/

-- 
There is a fine line between courage and foolishness.
Unfortunately, it's not a fence.

 /// Bram Moolenaar -- [email protected] -- 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

Raspunde prin e-mail lui