C Indent macro
------------
by Oliver Tscherwitschke <oliver@tscherwitschke.de>


This macro indents C source files. It may or may not work with other 
languages. Since it uses UltraEdit's indent mechanism, the source file 
must be saved as .c, .cpp, .h or .hpp so that UltraEdit recognizes the 
file type.
Also set the tab width you want to use in UE's options menu.

Installation
------------
1. Load this macro by selecting Macro->Load or Macro->Load and Append 
   to Existing menu in UltraEdit. The default hot key is Alt+F8 but can 
   be changed using the Macro->Delete Macro/Modify Hot Key menu option 
   (select macro 'indent_main').
2. Create an empty file 'c:\ueindent.c'. If you want the file to be in 
   another location, edit 'indent_main' accordingly.

Using
-----
Pressing Alt+F8 will invoke the macro.
a) When no text is selected, the whole file is indented.
b) When text is selected, only this will be indented, but this doesn't 
   work very well. The selected text will be copied to 'c:\ueindent.c', 
   indented there and copied back.

Disclaimer
----------
This macro is not perfect. It may destroy your source code, so always 
backup your data before using this macro. This macro was developed and 
tested with UltraEdit 7.20a german.

Comments and suggestions are welcome.

Oliver Tscherwitschke
