1
Vote

Optional Codeblocks

description

It would be nice to have 'Optional Codeblocks'. These Codeblocks should responde to a given placeholder.
 
Example:
 
@OptionalStart:InitializationExpression
@Section:Initialization
 mpd_%Präfix%%PropertyName% = %InitializationExpression%
@OptionalEnd
 
In this case: When the %InitialExpression% is not set TextGen should ignore the complete 'Optional'-Block.

comments