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 / 6.0.192 < prev    next >
Encoding:
Internet Message Format  |  2002-02-05  |  1.5 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0.192
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 6.0.192
  11. Problem:    When 'virtualedit' is set, "ylj" goes to the wrong column. (Andrew
  12.         Nikitin)
  13. Solution:   Reset the flag that w_virtcol is valid when moving the cursor back
  14.         to the start of the operated area.
  15. Files:        src/normal.c
  16.  
  17.  
  18. *** ../vim60.191/src/normal.c    Wed Feb  6 10:54:18 2002
  19. --- src/normal.c    Wed Feb  6 17:46:21 2002
  20. ***************
  21. *** 1404,1409 ****
  22. --- 1404,1414 ----
  23.   #endif
  24.           oap->end = curwin->w_cursor;
  25.           curwin->w_cursor = oap->start;
  26. +         /* w_virtcol may have been updated; if the cursor goes back to its
  27. +          * previous position w_virtcol becomes invalid and isn't updated
  28. +          * automatically. */
  29. +         curwin->w_valid &= ~VALID_VIRTCOL;
  30.       }
  31.       else
  32.       {
  33. *** ../vim60.191/src/version.c    Wed Feb  6 11:45:41 2002
  34. --- src/version.c    Wed Feb  6 17:43:26 2002
  35. ***************
  36. *** 608,609 ****
  37. --- 608,611 ----
  38.   {   /* Add new patch number below this line */
  39. + /**/
  40. +     192,
  41.   /**/
  42.  
  43. -- 
  44. hundred-and-one symptoms of being an internet addict:
  45. 250. You've given up the search for the "perfect woman" and instead,
  46.      sit in front of the PC until you're just too tired to care.
  47.  
  48.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  49. (((   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   )))
  50.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  51.