On 1 Sep, 18:19, Luis Carvalho <[EMAIL PROTECTED]> wrote:
> Thank you. I'm attaching an updated version of the patch with a few more
> changes. I should probably find a place to put the latest version of the
> patch...
A fairly small point:
:lua print("a\nb\nc")
prints
[EMAIL PROTECTED]@c
(i.e, newlines are printed as ^@, rather than as proper newlines).
Vim converts nulls to newlines and vice versa in internal strings. You
may want to look at LineToString, StringToLine, and writer, in
if_python.c. Your MSG call in luaV_print needs to split the line at
each \n character and call MSG on each line in turn. Same for the
various EMSG calls
Paul.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---