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.2.203 < prev    next >
Encoding:
Internet Message Format  |  2004-01-24  |  1.7 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.2.203
  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.2.203
  11. Problem:    With characterwise text that has more than one line, "3P" works
  12.         wrong.  "3p" has the same problem.  There also is a display
  13.         problem. (Daniel Goujot)
  14. Solution:   Perform characterwise puts with a count in the right position.
  15. Files:        src/ops.c
  16.  
  17.  
  18. *** ../vim-6.2.202/src/ops.c    Sun Jan 18 20:58:01 2004
  19. --- src/ops.c    Sat Jan 24 14:17:22 2004
  20. ***************
  21. *** 3142,3147 ****
  22. --- 3142,3148 ----
  23.           curwin->w_cursor.lnum = lnum - 1;
  24.       else
  25.           curwin->w_cursor.lnum = lnum;
  26. +     curbuf->b_op_start = curwin->w_cursor;    /* for mark_adjust() */
  27.   #endif
  28.       }
  29.       else if (u_save_cursor() == FAIL)
  30. ***************
  31. *** 3434,3439 ****
  32. --- 3435,3441 ----
  33.                * First insert y_array[size - 1] in front of second line.
  34.                * Then append y_array[0] to first line.
  35.                */
  36. +             lnum = new_cursor.lnum;
  37.               ptr = ml_get(lnum) + col;
  38.               totlen = (int)STRLEN(y_array[y_size - 1]);
  39.               newp = alloc_check((unsigned)(STRLEN(ptr) + totlen + 1));
  40. *** ../vim-6.2.202/src/version.c    Sun Jan 25 20:16:26 2004
  41. --- src/version.c    Sun Jan 25 20:18:05 2004
  42. ***************
  43. *** 639,640 ****
  44. --- 639,642 ----
  45.   {   /* Add new patch number below this line */
  46. + /**/
  47. +     203,
  48.   /**/
  49.  
  50. -- 
  51. Why is "abbreviation" such a long word?
  52.  
  53.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  54. ///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  55. \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
  56.  \\\  Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html  ///
  57.