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.1 / 7.1.101 < prev    next >
Encoding:
Internet Message Format  |  2007-11-19  |  1.6 KB

  1. To: vim-dev@vim.org
  2. Subject: patch 7.1.101
  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 7.1.101
  11. Problem:    Ruby: The Buffer.line= method does not work.
  12. Solution:   Add the "self" argument to set_current_line(). (Jonathan Hankins)
  13. Files:        src/if_ruby.c
  14.  
  15.  
  16. *** ../vim-7.1.100/src/if_ruby.c    Sat May 12 15:01:49 2007
  17. --- src/if_ruby.c    Mon Sep 10 10:40:38 2007
  18. ***************
  19. *** 789,795 ****
  20.       return get_buffer_line(curbuf, curwin->w_cursor.lnum);
  21.   }
  22.   
  23. ! static VALUE set_current_line(VALUE str)
  24.   {
  25.       return set_buffer_line(curbuf, curwin->w_cursor.lnum, str);
  26.   }
  27. --- 789,795 ----
  28.       return get_buffer_line(curbuf, curwin->w_cursor.lnum);
  29.   }
  30.   
  31. ! static VALUE set_current_line(VALUE self, VALUE str)
  32.   {
  33.       return set_buffer_line(curbuf, curwin->w_cursor.lnum, str);
  34.   }
  35. *** ../vim-7.1.100/src/version.c    Thu Sep  6 17:38:06 2007
  36. --- src/version.c    Thu Sep 13 14:59:47 2007
  37. ***************
  38. *** 668,669 ****
  39. --- 668,671 ----
  40.   {   /* Add new patch number below this line */
  41. + /**/
  42. +     101,
  43.   /**/
  44.  
  45. -- 
  46. The question is:  What do you do with your life?
  47. The wrong answer is: Become the richest guy in the graveyard.
  48.                 (billionaire and Oracle founder Larry Ellison)
  49.  
  50.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  51. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  52. \\\        download, build and distribute -- http://www.A-A-P.org        ///
  53.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  54.