Re: outputting formated text version of code [message #13826 is a reply to message #13693] |
Mon, 07 December 1998 00:00  |
Sebastien DELECRAZ
Messages: 2 Registered: December 1998
|
Junior Member |
|
|
Brad Gom wrote:
> Does anyone know of a routine that will convert a .pro file to a
> document that preserves the syntax highlighting seen in the IDL window?
Hi Brad,
What's your word processor?
I' ve got a macro for MSWORD95 (WIN) that does it in black & white.
In fact it does not preserve the IDL colored highlights but when you
open your IDL source code in MSWORD it will search again for reserved
words, keywords, built-in routine
names and comments. Then, these are set to BOLD or ITALIC.
You can edit this macro to add your own reserved words. I believe you
can also modify it in order to get some colors.
I use it when I need to turn off my computer and read quietly my code on
a real sheet of paper, with a real pen in the hand, looking for really
obscure
programming errors that make me stand hours in front of the same screen
- I'm sure I'm not the only one around there. ;-)
You can download the zipped file on my IDL reference page
(http://gala.univ-perp.fr/~delecraz/)
Hope this helps,
cheers,
SEb.
______________________________________________
Sebastien DELECRAZ - tel: 33/4.68.35.32.41
59, cours Lassus - F-66000 Perpignan
delecraz@univ-perp.fr
http://gala.univ-perp.fr/~delecraz/
______________________________________________
|
|
|