siegel@hc.DSPO.GOV (josh Siegel) (09/22/88)
I threw together a NeWS indenter over the last week while cleaning
up some NeWS code I had written.
It is primitive but it does the job...
Does anybody wish a copy of it before I post it to the
world as a whole? (the source is 12K)
Example:
cdef foo()
/hello { /hi 2 def
[ this is a test]
[
of
my
code
]
gsave
2 2 moveto
4 4 lineto
stroke
grestore
} def
/bye 6 def
turns into:
cdef foo()
/hello
{
/hi 2 def
[ this is a test]
[
of
my
code
]
gsave
2 2 moveto
4 4 lineto
stroke
grestore
} def
/bye 6 def
It also has a whole bunch of style options for local tastes...
--Josh Siegel
--
Josh Siegel (siegel@hc.dspo.gov)
I like using a C-47A "puff dragon" to go shooting beer cans with.