15#ifndef HTMLHIGHLIGHTER_H
16#define HTMLHIGHLIGHTER_H
18#include <QtGui/qsyntaxhighlighter.h>
43 void setFormatFor(Construct construct,
const QTextCharFormat &format);
46 {
return m_formats[construct]; }
HtmlHighlighter(QTextEdit *textEdit)
QTextCharFormat formatFor(Construct construct) const
void highlightBlock(const QString &text) override
Highlights the given text block.
void setFormatFor(Construct construct, const QTextCharFormat &format)
Combined button and popup list for selecting options.
Auxiliary methods to store/retrieve settings.