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