Here's a patch to the print_to_string function that accesses the current line
length using a call to get_margin before printing the argument to a string. I
also recoded the print_to_string function in terms of ocaml buffers, instead of
a string reference.
The patchfile can be applied using the command
patch -p0 < patchfile
Original issue reported on code.google.com by joe.h...@gmail.com on 3 Mar 2014 at 12:37
Original issue reported on code.google.com by
joe.h...@gmail.com
on 3 Mar 2014 at 12:37Attachments: