Short: Useful ARexx Scripts for C Programming Author: chris@mail.riednet.wh.tu-darmstadt.de (Christian Hattemer) Uploader: chris@mail.riednet.wh.tu-darmstadt.de (Christian Hattemer) Type: dev/c Requires: GoldED Kurz: Nützliche ARexx Skripts für C Programmierung This is the third Release. Here are some useful ARexx Scripts I wrote for GoldED 5, they should also work with GoldED 4 but I didn't test. Additionally modified Versions of some other Plugins are included. Installation: Put the Scripts and the Data File where you want and edit Line 32 of InsertMethod.rexx to contain the full Path to the Data File. Put NewAutodoc and NewStruct in the GoldED Scanner Directory and add them to the List in the "Show Functions" Window. Remove the old Entries for these Datatypes from the List. Put mirro2.api in the api Directory and add it to the Config. Archive Contents: InsertClassname.rexx This Script assumes that you are writing a Customclass and the Filename is the Name of your Class. It takes the Name, removes the .c at the end and inserts it at Cursor Position. InsertProto.rexx Inserts a Method Prototype with the Classname already inserted and the Cursor postioned so you can just type the Methodname. InsertMethod.rexx InsertMethod.data Inserts the Data File which contains a Template for an empty Method. The Classname is automatically inserted in the Instance Data Line and the Header Line. The Cursor is postioned so you can just type the Methodname. Reference.rexx Calls GoldED's XREF Function with the word under the Cursor. If nothing is found it tries again with an A appended to the end of the search word. When using the NewAutodoc Scanner this is obsolete. NewAutodoc Modified Version of the autodocslow Scanner included with GoldED. Looks for Formfeeds again to make it work with the MUI Autodocs. Additionally varargs stubs are only recognized when one of both Names ends with 'A'. This avoids double Entries which happened when viewing iffparse.doc. NewStruct Modified Version of the struct Scanner. It also recognizes the MUIP_xxx structures in mui.h, but only if you remove the space between the struct keyword and the Label. Source is included, if you find out how to fix the Problem with the Spaces please mail me. mirro2.api Patched Version of the original mirror.api. Shows pairs of [] and <>. ============================= Archive contents ============================= Original Packed Ratio Date Time Name -------- ------- ----- --------- -------- ------------- 2366 1122 52.5% 10-Mar-99 23:08:50 +GED_Scripts.readme 1113 529 52.4% 22-Dec-98 12:32:44 +InsertClassname.rexx 107 101 5.6% 02-Feb-99 00:05:10 +InsertMethod.data 1318 615 53.3% 20-Dec-98 19:38:36 +InsertMethod.rexx 1276 636 50.1% 12-Jan-99 17:53:50 +InsertProto.rexx 3064 1953 36.2% 04-Jan-99 01:38:04 +mirro2.api 512 378 26.1% 24-Feb-99 00:37:28 +NewAutodoc 3852 1296 66.3% 24-Feb-99 00:36:14 +NewAutodoc.c 452 322 28.7% 17-Nov-98 17:19:02 +NewStruct 2423 871 64.0% 17-Nov-98 17:17:26 +NewStruct.c 1340 616 54.0% 11-Jan-99 20:05:36 +Reference.rexx -------- ------- ----- --------- -------- 17823 8439 52.6% 18-Mar-99 22:12:32 11 files