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.261 < prev    next >
Encoding:
Internet Message Format  |  2002-11-18  |  1.7 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.1.261
  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.261
  11. Problem:    When deleting a line in a buffer which is not the current buffer,
  12.         using the Perl interface Delete(), the cursor in the current
  13.         window may move. (Chris Houser)
  14. Solution:   Don't adjust the cursor position when changing another buffer.
  15. Files:        src/if_perl.xs
  16.  
  17.  
  18. *** ../vim61.260/src/if_perl.xs    Wed Dec 12 20:59:21 2001
  19. --- src/if_perl.xs    Thu Nov 14 20:40:17 2002
  20. ***************
  21. *** 1086,1092 ****
  22.               {
  23.               ml_delete(lnum, 0);
  24.               deleted_lines_mark(lnum, 1L);
  25. !             check_cursor();
  26.               }
  27.               curbuf = savebuf;
  28.               update_curbuf(VALID);
  29. --- 1086,1093 ----
  30.               {
  31.               ml_delete(lnum, 0);
  32.               deleted_lines_mark(lnum, 1L);
  33. !             if (savebuf == curbuf)
  34. !                 check_cursor();
  35.               }
  36.               curbuf = savebuf;
  37.               update_curbuf(VALID);
  38. *** ../vim61.260/src/version.c    Tue Nov 19 11:56:25 2002
  39. --- src/version.c    Tue Nov 19 11:57:55 2002
  40. ***************
  41. *** 608,609 ****
  42. --- 608,611 ----
  43.   {   /* Add new patch number below this line */
  44. + /**/
  45. +     261,
  46.   /**/
  47.  
  48. -- 
  49. hundred-and-one symptoms of being an internet addict:
  50. 89. In addition to your e-mail address being on your business
  51.     cards you even have your own domain.
  52.  
  53.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  54. ///          Creator of Vim - Vi IMproved -- http://www.vim.org          \\\
  55. \\\           Project leader for A-A-P -- http://www.a-a-p.org           ///
  56.  \\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html ///
  57.