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 / 7.3 / 7.3.466 < prev    next >
Encoding:
Internet Message Format  |  2012-11-20  |  1.6 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.3.466
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.3.466
  11. Problem:    Get ml_get error when ":behave mswin" was used and selecting
  12.         several lines.  (A. Sinan Unur)
  13. Solution:   Adjust the end of the operation. (Christian Brabandt)
  14. Files:        src/ops.c
  15.  
  16.  
  17. *** ../vim-7.3.465/src/ops.c    2012-02-22 17:37:55.000000000 +0100
  18. --- src/ops.c    2012-03-07 19:27:08.000000000 +0100
  19. ***************
  20. *** 1957,1962 ****
  21. --- 1957,1965 ----
  22.           ++curwin->w_cursor.lnum;
  23.           del_lines((long)(oap->line_count - 2), FALSE);
  24.   
  25. +         if (delete_last_line)
  26. +         oap->end.lnum = curbuf->b_ml.ml_line_count;
  27.           n = (oap->end.col + 1 - !oap->inclusive);
  28.           if (oap->inclusive && delete_last_line
  29.               && n > (int)STRLEN(ml_get(oap->end.lnum)))
  30. *** ../vim-7.3.465/src/version.c    2012-03-07 19:16:49.000000000 +0100
  31. --- src/version.c    2012-03-07 19:29:52.000000000 +0100
  32. ***************
  33. *** 716,717 ****
  34. --- 716,719 ----
  35.   {   /* Add new patch number below this line */
  36. + /**/
  37. +     466,
  38.   /**/
  39.  
  40. -- 
  41. hundred-and-one symptoms of being an internet addict:
  42. 153. You find yourself staring at your "inbox" waiting for new e-mail
  43.      to arrive.
  44.  
  45.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  46. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  47. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  48.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  49.