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
tidy and cross-reference
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
Paul White
Re: tidy and cross-reference
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.
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.
-
Ron. Chambers
Re: tidy and cross-reference
Thanks.
I got the config file from the Tidy site and it works really well.
RON C
I got the config file from the Tidy site and it works really well.
RON C
-
Tom
Re: tidy and cross-reference
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
Any suggestions on why ?
TIA