Printing line numbers

My methods use to be a bit long. Fortunately I can number all the lines on the left margin.

But sometimes I need to print a method and it takes me some time to find what I was looking for.

Is it possible to print the line numbers as well? How?

Currently, no. Report a desire of such option in the “Issues” area.

In the absence of an official way to do it, this sounds like something you could write a quick utility in Xojo to do.

Alternatively, there are many line numbering tools on the web that will let you paste your code in, then will add line numbers that you can print.

I would choose one that’s javascript based, so they never actually see your code.

Thank you Rick and Christian, I’ll try it and I hope it works.

It is a pity that we can’t do it with Xojo.