diff options
-rwxr-xr-x | addon/doxywizard/doxywizard.cpp | 9 | ||||
-rwxr-xr-x | addon/doxywizard/doxywizard.h | 1 | ||||
-rw-r--r-- | src/markdown.cpp | 3 |
3 files changed, 12 insertions, 1 deletions
diff --git a/addon/doxywizard/doxywizard.cpp b/addon/doxywizard/doxywizard.cpp index c93c898..db4e6fb 100755 --- a/addon/doxywizard/doxywizard.cpp +++ b/addon/doxywizard/doxywizard.cpp @@ -108,6 +108,12 @@ MainWindow::MainWindow() m_saveLog->setEnabled(false); QPushButton *showSettings = new QPushButton(tr("Show configuration")); QPushButton *showCondensedSettings = new QPushButton(tr("Show condensed configuration")); + // select extra run options + m_runOptions = new QLineEdit; + + runTabLayout->addWidget(new QLabel(tr("Step 3: Specify (optional) options for running doxygen"))); + runTabLayout->addWidget(m_runOptions); + runLayout->addWidget(m_run); runLayout->addWidget(m_runStatus); runLayout->addStretch(1); @@ -501,6 +507,9 @@ void MainWindow::runDoxygen() m_runProcess->setEnvironment(env); QStringList args; + QStringList runOptions = m_runOptions->text().split(QLatin1Char(' '),QString::SkipEmptyParts); + + args << runOptions; args << QString::fromLatin1("-b"); // make stdout unbuffered args << QString::fromLatin1("-"); // read config from stdin diff --git a/addon/doxywizard/doxywizard.h b/addon/doxywizard/doxywizard.h index b009cc5..f976a98 100755 --- a/addon/doxywizard/doxywizard.h +++ b/addon/doxywizard/doxywizard.h @@ -79,6 +79,7 @@ class MainWindow : public QMainWindow bool discardUnsavedChanges(bool saveOption=true); QLineEdit *m_workingDir; + QLineEdit *m_runOptions; QPushButton *m_selWorkingDir; QPushButton *m_run; QPushButton *m_saveLog; diff --git a/src/markdown.cpp b/src/markdown.cpp index ae78533..bd7751a 100644 --- a/src/markdown.cpp +++ b/src/markdown.cpp @@ -2130,6 +2130,7 @@ int Markdown::writeCodeBlock(const char *data,int size,int refIndent) TRACE(data); int i=0,end; //printf("writeCodeBlock: data={%s}\n",QCString(data).left(size).data()); + // no need for \ilinebr here as the prvious like was empty and was skipped m_out.addStr("@verbatim\n"); int emptyLines=0; while (i<size) @@ -2164,7 +2165,7 @@ int Markdown::writeCodeBlock(const char *data,int size,int refIndent) break; } } - m_out.addStr("@endverbatim\n"); + m_out.addStr("@endverbatim\\ilinebr "); while (emptyLines>0) // write skipped empty lines { // add empty line |