Page 1 of 1

tidy and cross-reference

Posted: Tue Aug 21, 2001 6:35 pm
by Ron. Chambers
Anyone use the program TIDY to format html from within TextPad?
If so, how is it done?
Likewise for a cross-reference program (I have one called XR)??

Thanks,
RON C

Re: tidy and cross-reference

Posted: Thu Aug 23, 2001 8:42 pm
by Paul White
Easy - I've been using this for some time. Set up a tool as follows (changing whatever to suit your setup):

Command: C:\Tidy\tidy.exe
Parameters: -config C:\Tidy\TidyCfg.txt $File
Initial Folder: $FileDir

Tick "Capture output"

RE to Match output: ^line \([0-9]+\) column \([0-9]+\) -

I have this mapped to Alt-F9, one press and the file is tidied and the errors or results are displayed in another editing window. Double clicking on the error message results in a jump to the error in the file you are editing.

Hope that helps.

Re: tidy and cross-reference

Posted: Fri Aug 24, 2001 2:11 am
by Ron. Chambers
Thanks.
I got the config file from the Tidy site and it works really well.
RON C

Re: tidy and cross-reference

Posted: Tue Mar 26, 2002 4:59 am
by Tom
I would really like to use this but when I find the "capture events" and RE options are dimmed out. (windows v4.5)

Any suggestions on why ?


TIA