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.050 < prev    next >
Encoding:
Internet Message Format  |  2001-10-30  |  1.5 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0.050 (corrected version)
  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.050
  11. Problem:    UTF-8: "viw" doesn't include non-ASCII characters before the
  12.         cursor. (Bertilo Wennergren)
  13. Solution:   Use dec_cursor() instead of decrementing the column number.
  14. Files:        src/search.c
  15.  
  16.  
  17. *** ../vim60.49/src/search.c    Fri Sep 14 22:26:10 2001
  18. --- src/search.c    Wed Oct 31 20:13:15 2001
  19. ***************
  20. *** 2604,2613 ****
  21.       {
  22.       if (curwin->w_cursor.col == 0)        /* stop at start of line */
  23.           break;
  24. !     --curwin->w_cursor.col;
  25.       if (cls() != sclass)            /* stop at start of word */
  26.       {
  27. !         ++curwin->w_cursor.col;
  28.           break;
  29.       }
  30.       }
  31. --- 2604,2613 ----
  32.       {
  33.       if (curwin->w_cursor.col == 0)        /* stop at start of line */
  34.           break;
  35. !     dec_cursor();
  36.       if (cls() != sclass)            /* stop at start of word */
  37.       {
  38. !         inc_cursor();
  39.           break;
  40.       }
  41.       }
  42. *** ../vim60.49/src/version.c    Wed Oct 31 17:50:48 2001
  43. --- src/version.c    Wed Oct 31 20:14:29 2001
  44. ***************
  45. *** 608,609 ****
  46. --- 608,611 ----
  47.   {   /* Add new patch number below this line */
  48. + /**/
  49. +     50,
  50.   /**/
  51.  
  52. -- 
  53. Why is "abbreviation" such a long word?
  54.  
  55.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  56. (((   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   )))
  57.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  58.