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.195 < prev    next >
Encoding:
Internet Message Format  |  2002-02-06  |  1.4 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0.195
  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.195
  11. Problem:    When 'virtualedit' is set and a search starts in virtual space
  12.         ":call search('x')" goes to the wrong position. (Eric Long)
  13. Solution:   Reset coladd when finding a match.
  14. Files:        src/search.c
  15.  
  16.  
  17. *** ../vim60.194/src/search.c    Mon Feb  4 13:15:45 2002
  18. --- src/search.c    Thu Feb  7 11:31:32 2002
  19. ***************
  20. *** 694,699 ****
  21. --- 694,702 ----
  22.               pos->lnum = lnum;
  23.               pos->col = startcol;
  24.               }
  25. + #ifdef FEAT_VIRTUALEDIT
  26. +             pos->coladd = 0;
  27. + #endif
  28.               found = 1;
  29.   
  30.               /* Set variables used for 'incsearch' highlighting. */
  31. *** ../vim60.194/src/version.c    Thu Feb  7 11:35:07 2002
  32. --- src/version.c    Thu Feb  7 11:34:46 2002
  33. ***************
  34. *** 608,609 ****
  35. --- 608,611 ----
  36.   {   /* Add new patch number below this line */
  37. + /**/
  38. +     195,
  39.   /**/
  40.  
  41. -- 
  42. hundred-and-one symptoms of being an internet addict:
  43. 260. Co-workers have to E-mail you about the fire alarm to get
  44.      you out of the building.
  45.  
  46.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  47. (((   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   )))
  48.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  49.