Does it have a purpose? If one isn't selected, Tidy fails. If I just make an empty text file someplace and select it, Tidy runs fine, but what is the point of the exercise? It's still empty when I'm done. The help file is less than illuminating on the subject.
UltraEdit supports HTML Tidy since v8.00. The Tidy options could be only set by creating a Tidy config file manually and also manually adding this config file to following entry in the uedit32.ini (example) prior UltraEdit v11.00:
Html Tidy Config File=C:\Programs\UltraEd\Config\Htmltidy.cfg
I have for example following settings in this file:
This HTML Tidy support uses the DLL Htmltidy.dll which must be downloaded from world wide web and copied by the user itself to the program directory of UltraEdit. This HTML Tidy support is not present anymore in a menu since UltraEdit v11.00, but can still be used with a hotkey which must be assigned to command FormatHtmlTidy in the key mapping configuration dialog.
IDM improved the HTML Tidy support with UltraEdit v11.00. Now HTML Tidy is installed and updated with an UltraEdit install/update because the code is now in the DLL tidylib.dll in the UltraEdit program files directory and this DLL is also in the UE install setup package.
This second HTML Tidy support is executed by clicking on menu item Run HTML Tidy in menu Format HTML Validation or the appropriate toolbar button.
Most options of HTML Tidy can be set directly within UltraEdit in a dialog since v11.00. These options are saved in uedit32.ini at section [HTMLTidyOptions].
These Tidy options are used during Tidy execution if you do not specify a Tidy configuration file. If you specify a Tidy configuration file in the dialog, the Tidy options in the uedit32.ini are ignored and the options in the configuration file are used. (I think so, because I have not really tested it.)
With such a configuration file you can specify all Tidy options. For example the quiet option from my example above is not available in the Tidy options dialog of UltraEdit. If you specify a Tidy configuration dialog in the Tidy dialog this specification is saved in the uedit32.ini as follows:
A second advantage of using a Tidy configuration file is that you can create several configuration files with different settings. Then you can easily switch to a different set of Tidy options by simply selecting a different configuration file.
If you have UltraEdit v11.00 or higher you can choose between the "old" Tidy support with the Htmltidy.dll or the "new" one with the Tidy dialog and the tidylib.dll. You can also use both simultaneously.
For details about the Tidy configuration file read as help of UltraEdit already suggests the HTML Tidy Quick Reference and also the full HTML Tidy Manual.
Edited on 2006-10-29: With UltraEdit v12.20 and UEStudio v6.00 the key mapping configuration dialog has bee modified to support multi-key assignments (chords). On first start of UE/UES after an upgrade the existing *.kbd file is converted to an equivalent *.uek file.
In the new key mapping configuration dialog the command FormatHtmlTidy is not associated anymore internally to the HTML Tidy support with Htmltidy.dll. It's now assigned to the new HTML Tidy command available also in the Format menu.
An existing key assignment in the *.kbd file for the support for Htmltidy.dll is nevertheless still working in the converted *.uek file because it is still assigned to internal command ID named ID_HTMLTIDY. So be careful if you want to use still the first method like I. Do not destroy your converted *.uek file or reassign the hotkey for ID_HTMLTIDY by mistake to a different command.
I have sent a request email to IDM that the developers should add a command with small description for ID_HTMLTIDY so users like I who want to continue to use the Htmltidy.dll version can assign a hotkey for the command in the new key mapping configuration dialog.
Edited on 2007-06-13: And IDM meets my wish and implemented the command RunHTMLTidy in the key mapping configuration dialog of UltraEdit v13.10 and UEStudio v6.30 to be able to assign a hotkey to fast execute HTML Tidy with Htmltidy.dll as I still like it. Thanks IDM!