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.1.071 < prev    next >
Encoding:
Internet Message Format  |  2002-05-15  |  1.4 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.1.071
  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.1.071
  11. Problem:    When 'selection' is exclusive, g CTRL-G in Visual mode counts one
  12.         character too much. (David Necas)
  13. Solution:   Subtract one from the end position.
  14. Files:        src/ops.c
  15.  
  16.  
  17. *** ../vim61.070/src/ops.c    Thu May 16 21:44:52 2002
  18. --- src/ops.c    Thu May 16 20:01:35 2002
  19. ***************
  20. *** 5489,5494 ****
  21. --- 5521,5529 ----
  22.           min_pos = curwin->w_cursor;
  23.           max_pos = VIsual;
  24.           }
  25. +         if (*p_sel == 'e' && max_pos.col > 0)
  26. +         --max_pos.col;
  27.           if (VIsual_mode == Ctrl_V)
  28.           {
  29.           oparg.is_VIsual = 1;
  30. *** ../vim61.070/src/version.c    Thu May 16 21:44:52 2002
  31. --- src/version.c    Thu May 16 21:46:44 2002
  32. ***************
  33. *** 608,609 ****
  34. --- 608,611 ----
  35.   {   /* Add new patch number below this line */
  36. + /**/
  37. +     71,
  38.   /**/
  39.  
  40. -- 
  41. How To Keep A Healthy Level Of Insanity:
  42. 3. Every time someone asks you to do something, ask if they want fries
  43.    with that.
  44.  
  45.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  46. ///   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   \\\
  47. \\\           Project leader for A-A-P -- http://www.a-a-p.org           ///
  48.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  49.