StelScriptSyntaxHighlighter.hpp   StelScriptSyntaxHighlighter.hpp 
skipping to change at line 37 skipping to change at line 37
#include <QTextCharFormat> #include <QTextCharFormat>
class QTextDocument; class QTextDocument;
class StelScriptSyntaxHighlighter : public QSyntaxHighlighter class StelScriptSyntaxHighlighter : public QSyntaxHighlighter
{ {
public: public:
StelScriptSyntaxHighlighter(QTextDocument* parent=0); StelScriptSyntaxHighlighter(QTextDocument* parent=0);
void setFormats(void);
protected: protected:
void highlightBlock(const QString &text); void highlightBlock(const QString &text);
private: private:
struct HighlightingRule struct HighlightingRule
{ {
QRegExp pattern; QRegExp pattern;
QTextCharFormat format; QTextCharFormat* format;
}; };
QVector<HighlightingRule> highlightingRules; QVector<HighlightingRule> highlightingRules;
QTextCharFormat keywordFormat; QTextCharFormat keywordFormat;
QTextCharFormat moduleFormat; QTextCharFormat moduleFormat;
QTextCharFormat singleLineCommentFormat; QTextCharFormat commentFormat;
QTextCharFormat quotationFormat; QTextCharFormat constantFormat;
QTextCharFormat functionFormat; QTextCharFormat functionFormat;
}; };
 End of changes. 3 change blocks. 
3 lines changed or deleted 4 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from