home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 7.3 / 7.3.630 < prev    next >
Encoding:
Internet Message Format  |  2012-11-20  |  1.5 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.3.630
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.3.630
  11. Problem:    "|" does not behave correctly when 'virtualedit' is set.
  12. Solution:   Call validate_virtcol(). (David B├╝rgin)
  13. Files:        src/normal.c
  14.  
  15.  
  16. *** ../vim-7.3.629/src/normal.c    2012-07-29 12:55:21.000000000 +0200
  17. --- src/normal.c    2012-08-15 13:20:13.000000000 +0200
  18. ***************
  19. *** 7786,7792 ****
  20. --- 7786,7795 ----
  21.        * virtualedit.  Recalculate curwin->w_cursor to avoid bad hilighting.
  22.        */
  23.       if (c == Ctrl_V && (ve_flags & VE_BLOCK) && gchar_cursor() == TAB)
  24. +     {
  25. +     validate_virtcol();
  26.       coladvance(curwin->w_virtcol);
  27. +     }
  28.   #endif
  29.       VIsual = curwin->w_cursor;
  30.   
  31. *** ../vim-7.3.629/src/version.c    2012-08-08 18:01:00.000000000 +0200
  32. --- src/version.c    2012-08-15 13:30:30.000000000 +0200
  33. ***************
  34. *** 716,717 ****
  35. --- 716,719 ----
  36.   {   /* Add new patch number below this line */
  37. + /**/
  38. +     630,
  39.   /**/
  40.  
  41. -- 
  42. "Marriage is when a man and woman become as one; the trouble starts
  43. when they try to decide which one"
  44.  
  45.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  46. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  47. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  48.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  49.