I've got this text editor I like (UltraEdit) which lets you give it a
list of languages & several language-specific lists of keywords (in a
text file) and then separately specify what colors you want said
keywords to display in. (I'm not sure where the text color info is
stored just yet, but let's pretend I've got that in some convenient
format). This is a multi-language thing, so I can do ruby in it, and
sas, and pl/sql, etc.
I'd like to write a ruby script that would use my UltraEdit config info
& take an input program file & spit out a corresponding .html file
w/the code all nicely highlighted, using the same color schemes I'm
using in UE.
What ruby libraries should I be looking to use for this type of thing?
Thanks!
-Roy
I'm sorry if it is not what you want.
But it is written in Ruby so you can extend or customize it to suit
your request.
--
regards
kwatch
In the meantime I'm having fun trying to get something together just
w/IO & regexes (and a little win32ole for reading the registry).
Thanks!
-Roy
I don't think you necessarily need any libraries. "puts" and some
regular expressions are probably enough.
--
William <wmorgan-...@masanjin.net>