| To: vim-dev@vim.org |
| Subject: patch 7.1.101 |
| Fcc: outbox |
| From: Bram Moolenaar <Bram@moolenaar.net> |
| Mime-Version: 1.0 |
| Content-Type: text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding: 8bit |
| |
| |
| Patch 7.1.101 |
| Problem: Ruby: The Buffer.line= method does not work. |
| Solution: Add the "self" argument to set_current_line(). (Jonathan Hankins) |
| Files: src/if_ruby.c |
| |
| |
| |
| |
| |
| *** 789,795 **** |
| return get_buffer_line(curbuf, curwin->w_cursor.lnum); |
| } |
| |
| ! static VALUE set_current_line(VALUE str) |
| { |
| return set_buffer_line(curbuf, curwin->w_cursor.lnum, str); |
| } |
| --- 789,795 ---- |
| return get_buffer_line(curbuf, curwin->w_cursor.lnum); |
| } |
| |
| ! static VALUE set_current_line(VALUE self, VALUE str) |
| { |
| return set_buffer_line(curbuf, curwin->w_cursor.lnum, str); |
| } |
| |
| |
| |
| *** 668,669 **** |
| --- 668,671 ---- |
| { /* Add new patch number below this line */ |
| + /**/ |
| + 101, |
| /**/ |
| |
| -- |
| The question is: What do you do with your life? |
| The wrong answer is: Become the richest guy in the graveyard. |
| (billionaire and Oracle founder Larry Ellison) |
| |
| /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ |
| /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ |
| \\\ download, build and distribute -- http://www.A-A-P.org /// |
| \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |