tlaWrapPara
Wrap Paragraph and Move Cursor to Next or Previous CodeWright® - API Macro - Royalty Free - Send Comments |
PurposeWrap Paragraph and Move Cursor to Next or Previous. OperationThis function issues a CodeWright WrapParagraph command that wraps the text in a column delimited on the left by the first character of the paragraph and on the right by the right margin. The function then moves the cursor to the first character of the next paragraph (either up[ or down). Our corporate standard for ASP and HTML is to separate paragraphs with a single blank line. This results in code that looks something like ...
We replace the WrapParagraph binding to the wrap button with tlaWrapPara. This allows us to position anywhere in an ASP or HTML file, repeatedly hit the button and step our way through the document determining at each paragraph if we wish to wrap it or skip to the next paragraph. ExampleDefault - wrap current paragraph and move cursor down to first character of next paragraph.
Specified - wrap current paragraph and move cursor up to first character of previous paragraph.
Input Parameters
Return Codes
The tlaMovPara reference is correct. The only message issued is indeed issued from tlaMovePara. ReferenceThis function calls tlaError, tlaMovePara, and tlaSkip. CompatibilityCurrent version verified under:
CodeWright for .NET RestrictionNone. InstallationThere 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
PurchasetlaTools 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. tlaWrapPara 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 |