Format and Print Current Buffer Without Changing
CodeWright® - API Macro - Royalty Free -
Format and Print Current Buffer Without Changing.
This function applies the appropriate text formatting based on the file extension, prints the result, and then restores the file to ist original state.
This was developed becuse we were creating some XML files for a customer that were created to the customer's format. We wanted to see them in "out format" before forwarding them.
Current version verified under:
CodeWright for .NET Restriction
There are three primary methods for installing this macro on your system. Method A uses the tlaMDE tool available for purchase from this website. Method B manipulates the macro repository directly. Method C uses the API Macro... tool provided in every copy of CodeWright (but not CodeWright for .NET).
Method A - tlaMDE - CodeWright or CodeWright for .NET
Method B - Copy to Repository - CodeWright or CodeWright for .NET
Method C - API Macro ... - CodeWright Only
tlaTools is a Dynamic Link Library that contains most of the API macros on this website in a single easy to install package. The tlaTools DLL can be purchased by selecting the Buy button on this page.
tlaFormatPrintBuffer is included as a function in tlaTools.
Copyright © 1993-2005 Thom Little Associates, Ltd. revised
One Central Square, Keene, NH 03431-3787 phone 603-357-7567