4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Ruby: The Buffer.line= method does not work.
12 Solution: Add the "self" argument to set_current_line(). (Jonathan Hankins)
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
20 return get_buffer_line(curbuf, curwin->w_cursor.lnum);
23 ! static VALUE set_current_line(VALUE str)
25 return set_buffer_line(curbuf, curwin->w_cursor.lnum, str);
28 return get_buffer_line(curbuf, curwin->w_cursor.lnum);
31 ! static VALUE set_current_line(VALUE self, VALUE str)
33 return set_buffer_line(curbuf, curwin->w_cursor.lnum, str);
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
40 { /* Add new patch number below this line */
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)
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 ///