4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
15 #include "QDialogView.h"
16 #include "QLogDialog.h"
18 #include <QSyntaxHighlighter>
28 : public QController<ControlLog, QView<QLogDialog> >
32 friend class QLogDialog;
37 virtual void apply() {}
39 virtual void update_contents();
41 virtual void build_dialog();
42 /// log syntax highlighter
43 logHighlighter * highlighter;
49 class logHighlighter : public QSyntaxHighlighter
54 logHighlighter(QTextDocument * parent);
57 void highlightBlock(QString const & text);
60 QTextCharFormat infoFormat;
61 QTextCharFormat warningFormat;
62 QTextCharFormat errorFormat;
66 } // namespace frontend