Hi Everyone,

I am new to PSPad and I am trying to automate the file and funtion headers
required in my development enviroment through the use of macros.  I added the
two macros shown below to my CPP.DEF file.  The HeaderMethod macro works fine,
but the HeaderFile macro shows a dialog without text boxes, only the buttons are
available.  Why?  What am I doing wrong, or is this a bug?

The 2 macros that I added to the end of my CPP.DEF file:
[Macro definition]
[EMAIL PROTECTED] File name:
[EMAIL PROTECTED] Author:
[EMAIL PROTECTED] Date:
[EMAIL PROTECTED] SCR Number:
[HeaderFile | CAC File Header]
/***********************************************
 * File Name: %FName%
 *
 * Author:    %FAuthor%
 *
 * Description: FILL THIS
 *    
 * Revision History:
 * Date         Engineer          SCR    Description
 * --------     --------          ----   -----------
 * %FDate%      %FAuthor%         %FScr% Initial Design
 **************************************************/
;

[Macro definition]
[EMAIL PROTECTED] Method name:
[EMAIL PROTECTED] Return type:
[EMAIL PROTECTED] Parameter List:
[EMAIL PROTECTED] Author:
[EMAIL PROTECTED] Date:
[EMAIL PROTECTED] SCR Number:
[HeaderMethod | CAC Method Header]
/*****************************************
 *                                 %MName%
 *
 * Description:
 *    This method ... Describe what it does here!|
 *
 * Inputs: 
 *   Document input here - %MParamList%
 *
 * Outputs:
 *   Document output here
 *
 * Date         Engineer          SCR     Description
 * ----------   --------          ---     -----------
 * %MDate%      %MAuthor%         %MScr%  Initial Design
 ******************************************/
%MRetType% %MName% (%MParamList%)
{
    ;
}
;

-- 
<http://forum.pspad.com/read.php?2,45076,45076>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem