summaryrefslogtreecommitdiffstats
path: root/src/memberdef.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2000-04-09 18:46:16 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2000-04-09 18:46:16 (GMT)
commit3120c6832bd3b2df0ecac2ccb08ddcdacd5575ed (patch)
treefd63e43b2dca7528a3a4ac6ae45bf46fb3fc0ea3 /src/memberdef.cpp
parente5d8b060f74171bb27a1783d313429b0198ef42b (diff)
downloadDoxygen-3120c6832bd3b2df0ecac2ccb08ddcdacd5575ed.zip
Doxygen-3120c6832bd3b2df0ecac2ccb08ddcdacd5575ed.tar.gz
Doxygen-3120c6832bd3b2df0ecac2ccb08ddcdacd5575ed.tar.bz2
Release 1.1.2
Diffstat (limited to 'src/memberdef.cpp')
-rw-r--r--src/memberdef.cpp28
1 files changed, 8 insertions, 20 deletions
diff --git a/src/memberdef.cpp b/src/memberdef.cpp
index 2c1fd32..86b91bf 100644
--- a/src/memberdef.cpp
+++ b/src/memberdef.cpp
@@ -101,22 +101,12 @@ static void writeDefArgumentList(OutputList &ol,ClassDef *cd,
}
//printf("~~~ %s cName=%s\n",md->name().data(),cName.data());
- // You can set the next to TRUE to experiment with multiline parameter lists.
- // I'll add this in some form in a future release.
- bool multiLineArgs = FALSE; /* argList->count()>2; */
+ bool first=TRUE;
while (a)
{
+ ol.startParameter(first); first=FALSE;
QRegExp re(")(");
int vp;
- if (multiLineArgs)
- {
- ol.pushGeneratorState();
- ol.disableAllBut(OutputGenerator::Html);
- ol.lineBreak();
- ol.writeNonBreakableSpace();
- ol.writeNonBreakableSpace();
- ol.popGeneratorState();
- }
if (!a->attrib.isEmpty()) // argument has an IDL attribute
{
ol.docify(a->attrib+" ");
@@ -161,14 +151,11 @@ static void writeDefArgumentList(OutputList &ol,ClassDef *cd,
linkifyText(ol,scopeName,md->name(),n);
}
a=argList->next();
- if (a) ol.docify(", "); // there are more arguments
- }
- if (multiLineArgs)
- {
- ol.pushGeneratorState();
- ol.disableAllBut(OutputGenerator::Html);
- ol.lineBreak();
- ol.popGeneratorState();
+ if (a)
+ {
+ ol.docify(", "); // there are more arguments
+ ol.endParameter(FALSE);
+ }
}
ol.docify(")"); // end argument list
if (argList->constSpecifier)
@@ -971,6 +958,7 @@ void MemberDef::writeDocumentation(MemberList *ml,OutputList &ol,
ol.docify("]");
ol.endTypewriter();
}
+ ol.endParameter(TRUE);
ol.endMemberDoc();
ol.endDoxyAnchor();
ol.startIndent();