Eclipse CDT printing selected C code snippets/functions
Posted
by Sint
on Stack Overflow
See other posts from Stack Overflow
or by Sint
Published on 2010-05-10T11:34:53Z
Indexed on
2010/05/10
12:34 UTC
Read the original article
Hit count: 299
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
© Stack Overflow or respective owner