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.173 < prev    next >
Encoding:
Internet Message Format  |  2002-02-03  |  1.5 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0.173
  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.173
  11. Problem:    When using "P" to insert a line break the cursor remains past the
  12.         end of the line.
  13. Solution:   Check for the cursor being beyond the end of the line.
  14. Files:        src/ops.c
  15.  
  16.  
  17. *** ../vim60.172/src/ops.c    Thu Jan 24 11:27:35 2002
  18. --- src/ops.c    Mon Feb  4 12:48:01 2002
  19. ***************
  20. *** 3362,3370 ****
  21.       if (regname == '=')
  22.           vim_free(y_array);
  23.       }
  24. !     if ((flags & PUT_CURSEND)
  25. !         && gchar_cursor() == NUL
  26. !         && curwin->w_cursor.col
  27.           && !(restart_edit || (State & INSERT)))
  28.       {
  29.       --curwin->w_cursor.col;
  30. --- 3362,3369 ----
  31.       if (regname == '=')
  32.           vim_free(y_array);
  33.       }
  34. !     if (gchar_cursor() == NUL
  35. !         && curwin->w_cursor.col > 0
  36.           && !(restart_edit || (State & INSERT)))
  37.       {
  38.       --curwin->w_cursor.col;
  39. *** ../vim60.172/src/version.c    Mon Feb  4 10:31:31 2002
  40. --- src/version.c    Mon Feb  4 12:51:24 2002
  41. ***************
  42. *** 608,609 ****
  43. --- 608,611 ----
  44.   {   /* Add new patch number below this line */
  45. + /**/
  46. +     173,
  47.   /**/
  48.  
  49. -- 
  50. hundred-and-one symptoms of being an internet addict:
  51. 185. You order fast food over the Internet
  52.  
  53.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  54. (((   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   )))
  55.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  56.