═══ 1. Introduction ═══ Template Editor for General Rexx Extended Editor (Greed) - is a universal editor to edit zero terminated character strings in the INI-format files. Note: It's no editor for the not printable characters! Template Editor is the part of Greed however it is an independent module and it can work out of the main program too. Copyright Disclaimer Thanks Author Motto ═══ 2. Standard buttons. ═══ In most of Template Editors's windows you'll find the keys (Push Buttons) which have same meaning everywhere:  Undo - all changes are suspended.  Default - the affected options are set to their standard values.  Help - the context sensitive help will be displayed.  OK - all changes will be saved and the window closed.  Save - all changes will be saved but the window will be not closed. All other buttons, if present, have their own description in the context sensitive help windows. ═══ 3. Greed Templates Controller. ═══ Greed Templates Controller is an Add-On product for GREED. You can use it to work with the templates that are written into either your own templates files or standard GREED-templates files, but they are out of reach the main menu option Rexx It is a container with a tree-view of template applications. You can copy the template's code into the clipboard either via the pop-up menu or via the double mouse click (button 1) on the function name. This kind of work allows you to use Greed Templates Controller for all possible editors which can paste from the clipboard. See help of Greed Templates Controller for more information. ═══ 4. Browser. ═══ PM Browser is a program to view all sorts of files in both:  text mode or  hexadecimal mode. You can't directly edit the already viewed file, although you can call the OS/2 system editor to do that. In the hexadecimal mode, the hex digit will be showed verticaly below the character line:  zone in the first line after and  numeric in the second line. See help of PM Browser for more information. ═══ 5. Open edit file. ═══ To open an existing file for edit, use menu option Open from the main option File. You get the standard OS/2 dialog box to open a file. You can select the drive, the directory and file you want to open. Use the OK button to confirm or Cancel to suspend your choice. ═══ 6. Merge. ═══ This option help you to append Applications from other FNC-file into your current FNC-file. You get the standard OS/2 dialog box to open a file. You can select the drive, the directory and file you want to merge. After you confirm the merge file you get the extra window with the list of all its Application names. You can select Applications to merge per mouse click on the Application name in the first List box. The click on the Name in the second List box deselect this Application. If you confirm your choice with the OK-key, the Applcations will be inserted into the current FNC-file. ═══ 7. Import (@,%,$). ═══ You can edit the Template File as ordinary text file using anyone text editor. To create your code templates on this way you must only simply separate the Application, Key and Value records. There are three key characters you should use to separate this templates elements:  @ - as Applications separator.  % - as Key separator.  $ - as Value (code section) separator. The separators must be the first characters of this elements. The Application and the Key can only be one record. Their length can't exceed 255 characters. For the code section use the separator character only once at the beginning of text. A sample for adding a Rexx API section in the Greed Templates is shown as follows: @RexxAPI %RxFuncAdd $/*----------(Register new Rexx functions)-----------*/ rc = RxFuncAdd(function_name, dll_module, procedure) If rc > 0 Then Say 'Error:' function_name 'not for REXX available' %RxFuncDrop $/*------------(Deregister Rexx Function)------------*/ rc = RxFuncDrop(function_name) If rc > 0 Then Say 'Error:' function_name 'not deregistered' %RxFuncQuery $/*----------(Availability of the Function)----------*/ rc = RxFuncQuery(function_name) If rc > 0 Then Say function_name 'not for REXX registered' Note: You can create multiple Applications with the @ character. This menu option help you to transfer so formated text into your *.FNC-file. You get an Open Import File Dialog box. The standard extension for the importe file is *.EXT . After the file was imported the new file get the extention *.FNC and the same name as the .EXT-file. ЁБA ═══ 8. Save as. ═══ To save an even edited file under new name you get the standard OS/2 dialog box to save a file. Select the drive, path and write new name you like. If you confirm your choice with the OK-key, the new file will be saved. ═══ 9. Delete. ═══ With the option Delete from the menu option File you can delete the file being actually edited. You will be prompted to confirm the delete request:  Select OK-key to delete or  Cancel-key to cancel delete request. ═══ 10. Clipboard. ═══ You can use the Clipbord in the same manner as used by other editors: Cut Copy Paste. Additionally you have a tiny Clipboard editor which helps you to edit the contents of the clipboard separately. In this editor you can: Paste from clipboard to multiply its contents, Undo the last change, Delete the Clipboards contents and Save the edited text back. ═══ 11. Clear text. ═══ They are an option that allow you to clear the total text you are editing:  Clear all - to delete the entire text in the Value window. Note: If you have cleared the total text and saved your file - the empty value will be saved. ═══ 12. Change font. ═══ You can change the font settings using the systems font palette but you can also use internal Template Editor possibilities too. You can select new fonts for the Application. Key and Value windows separately. To change a font select the desired font name and font size on the Font page of the Change Font Dialog Boxes. The changes can immediately be seen in the pages test field and in Template Editor's edit window. ═══ 13. Last change. ═══ Template Editor's last change at 18.May.97 Current Version: 1.06 ═══ 14. Thanks ═══ Especially great thanks to Heribert Josef Gruenbauer (76155.3335@compuserve.com), for many new ideas, improvement suggestions (some of these you can see already in this release) and encouragement to further developement of Greed. Moreover, he is the author of the new Greed Icons, all Bitmaps and the main co-author of this information file. David L. White for his help in testing this product. He had new ideas and did some improvement suggestions and the correction of many texts. Moreover, he is the author of the HTML Code templates. That is a part of this packaging (html.fnc). Peter MacCarthy-Morrogh for correction of this help and info files and for his help in testing this product. Uwe Aust for his help in testing this product. To all the following GREED users thanks for draw my attention to some bugs and problems, for some im provement suggestions and requests and for praising of my job. I hope, with this version, to fulfil the most of these requests. - Tobias Herp 100073.3563@compuserve.com - Peter Adeberg 101456.3332@compuserve.com - Gerald Goertzel 70740.503@compuserve.com - Gottfried Enderer Gottfried.Enderer@lessons.sesom.de ═══ 15. Motto ═══ No windows, No gates, No bill! ═══ 16. Author ═══ Janosch R. Kowalczyk Oberwaldstrasse 42 D-63538 Grosskrotzenburg GERMANY Telephone: 0049 6186 201676 CompuServe: Janosch Internet: Janosch@compuserve.com Please send your improvement suggestions and your bug reports via email. ═══ 17. Disclaimer ═══ This package is provided as is, without any guarantees or warrantees whatsoever. The author is not liable or responsible for any loss or damage of any kind whatsoever, including, but not limited to, losses of a financial, physical, emotional, marital, social, or mental nature that may result from the use or the purported use of anything in this package, for any purpose whatsoever. Thanks to Michael Schillingford for this wording. ═══ 18. Copyright ═══ (C) Copyright 1995, 1997 by Janosch R. Kowalczyk. All rights reserved Template Controller (GreedX) is a universal source code controller from Janosch R. Kowalczyk. This version of Templates Controller is free of charge -> but it isn't FREEWARE. You are allowed to use this program as an "evaluation copy" for private puposes only. With this present version you are not able to change any of the contents except the contents of the *.FNC files. If you like to use this application for education or commercial purposes, contact the Author for license agreement and pricing. Please send all bug reports and improvement suggestions to the author . See Author for details. Disclaimer