Eclipse CDT printing selected C code snippets/functions
- by Sint
Is there a quick and dirty way to print(to dead trees) selected code (C in this case) snippets?
In particular, I wanted to print about 200 lines worth of code, but print dialog only offers printing of particular pages or all pages, but not selected text!
Of course, one can copy and paste into another editor, but that seems rather harsh.
Also, one can output the whole shebang to .pdf but that again seems a way of doing things wrong.
Perhaps there is a better way?
System: Ubuntu 10.04, Eclipse 3.5 with CDT, Subversive plugin