improved handling of word commands if puntuation is following the word, preserved spaces at start of comment line
This commit is contained in:
parent
2a8b20785e
commit
b5dea7456b
8 changed files with 224 additions and 130 deletions
|
|
@ -154,13 +154,29 @@ public class doxygen_misc_constructs_runme {
|
|||
" @see MyClass#fun(char,float)\n" +
|
||||
"");
|
||||
|
||||
wantedComments.put("doxygen_misc_constructs.doxygen_misc_constructs.cycle()",
|
||||
wantedComments.put("doxygen_misc_constructs.doxygen_misc_constructs.cycle(int, java.lang.String)",
|
||||
" The next line contains expression:\n" +
|
||||
" <pre>\n" +
|
||||
" ['retVal < 10', 'g_counter == 23 && g_mode & 3']\n" +
|
||||
" </pre>\n" +
|
||||
"\n" +
|
||||
"");
|
||||
" Both words should be emphasized <b>isystem.connect</b>.\n" +
|
||||
" But not the last period. For <b>example</b>, comma should not be emphasized.\n" +
|
||||
" Similar <b>for</b>: double colon.\n" +
|
||||
"\n" +
|
||||
" Spaces at the start of line should be taken into account:\n" +
|
||||
" @param id used as prefix in log\n" +
|
||||
" statements. The default value is empty string, which is OK if\n" +
|
||||
" there is only one app. instance. Example:\n" +
|
||||
" <pre>\n" +
|
||||
" ctrl.setBP(\"func1\");\n" +
|
||||
" </pre>\n" +
|
||||
" If we set the id to <code>main_</code>, we get:\n" +
|
||||
" <pre>\n" +
|
||||
" main_ctrl.setBP(\"func1\");\n" +
|
||||
" </pre>\n" +
|
||||
"\n" +
|
||||
" @param fileName name of the log file\n");
|
||||
|
||||
|
||||
// and ask the parser to check comments for us
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ public class doxygen_translate_all_tags_runme {
|
|||
" and detailed description of some thing \n");
|
||||
|
||||
wantedComments.put("doxygen_translate_all_tags.doxygen_translate_all_tags.func03(int)",
|
||||
" Comment for <b>func03().</b>\n" +
|
||||
" Comment for <b>func03()</b>.\n" +
|
||||
" <i>italicword </i>\n" +
|
||||
" <i>emphazedWord </i>\n" +
|
||||
" @ example someFile.txt\n" +
|
||||
|
|
@ -87,7 +87,7 @@ public class doxygen_translate_all_tags_runme {
|
|||
" describing invariant. \n");
|
||||
|
||||
wantedComments.put("doxygen_translate_all_tags.doxygen_translate_all_tags.func06(int)",
|
||||
" Comment for <b>func06().</b>\n" +
|
||||
" Comment for <b>func06()</b>.\n" +
|
||||
" This will only appear in LATeX \n" +
|
||||
" <ul> \n" +
|
||||
" <li>Some unordered list \n" +
|
||||
|
|
@ -98,7 +98,7 @@ public class doxygen_translate_all_tags_runme {
|
|||
" This will only appear in man\n");
|
||||
|
||||
wantedComments.put("doxygen_translate_all_tags.doxygen_translate_all_tags.func07(int)",
|
||||
" Comment for <b>func07().</b>\n" +
|
||||
" Comment for <b>func07()</b>.\n" +
|
||||
" Note: Here \n" +
|
||||
" is the note! \n" +
|
||||
" This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.\n" +
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue