Bob Showalter
9/12/2007 3:08:00 PM
On 9/12/07, Max Williams <toastkid.williams@gmail.com> wrote:
> I'm writing up my project report and want to include line numbers with
> the code that i paste into my word doc writeup. Does anyone know of a
> ruby editor for windows that will allow this? I use SciTE and Eclipse
> already but can't see how to do it using those, so if someone knows a
> way for those that would be ideal.
I don't know SciTE or Eclipse, but with vim it would be trivial to
write a macro to pipe the data through cat -n or nl (you can get these
for Win32), copy the data to the clipboard, and then remove the line
numbers.