ShortDescriptionChar (Magic xpa 4.x)
This environment setting allows for the support of multiple language comments.
This setting is available only by manually setting it in the [MAGIC_ENV] section of the Magic.ini file. (It is not available from the Environment dialog box.)
This setting lets you define two descriptions in the comment, such as “/J JapaneseText J/” and “/E EnglishText E/” and then defining “J” or “E” in the ini.
Behavior:
-
The text between /* */ is always shown.
-
The text between /X X/ strings is shown only if X is specified at the ini.
-
For example - If the comment is:
abc
/* aaa */
/J jjj J/
/E eee E/
Then:
• If the ‘ShortDescriptionChar=J', then the short description (tooltip) will be:
aaa
jjj
• If the ‘ShortDescriptionChar=' (blank or does not exist), then the short description (tooltip) will be:
aaa
(the ‘/J J/’ and ‘/E E/’ will not be shown).