tidy and cross-reference

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Ron. Chambers

tidy and cross-reference

Post 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
Paul White

Re: tidy and cross-reference

Post 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.
Ron. Chambers

Re: tidy and cross-reference

Post by Ron. Chambers »

Thanks.
I got the config file from the Tidy site and it works really well.
RON C
Tom

Re: tidy and cross-reference

Post 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
Post Reply