Book a Demo

Author Topic: Generating Code to existing file  (Read 2481 times)

StefanR

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Generating Code to existing file
« on: June 24, 2004, 06:47:10 am »
If I generate a class more than once to the same Delphi-code file, strange things happen:
Each method declaration is preceeded by a notes-header which normally only appears in the implementation section.
Secondly, the notes-header for my class is duplicated each time I re-generated the class. It seems as if the recognition-algorithm doesn't work correct... Maybe this is because I have manually edited headers? They look like this:

Code: [Select]
// =============================================================================
// Method:         %className%.%opName%
// Author:         %classAuthor%
// Date:           %eaDateTime%
// Description:    
%DELPHI_COMMENT(genOptWrapComment)%
// =============================================================================\n


Any idea?

Btw, is it possible to insert a blank beween the "//" and the comment text for the comments which are written by the macro DELPHI_COMMENT?
Regards,
Stefan.