Sparx Systems Forum
Enterprise Architect => Suggestions and Requests => Topic started by: M Maher on June 03, 2009, 12:58:42 am
-
Any chance you can provide a new comment macro, similar to CSTYLE_COMMENT, but performs C++-style comments? i.e.
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\\ blah blah blah
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
cheers!
Mat
-
You can do this using the WRAP_LINES macro.
%if classNotes == "" or genOptGenComments != "T"%
%endTemplate%
///////////////////////////////////////////////////////////
%WRAP_LINES(classNotes, genOptWrapComment, "// ")%
///////////////////////////////////////////////////////////
I have substituted '/' for '\', but I'm assuming that was your intention. Similar code can be written for the other note templates.