summaryrefslogtreecommitdiff
path: root/src/highlighter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/highlighter.h')
-rw-r--r--src/highlighter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/highlighter.h b/src/highlighter.h
index 428bbbb..b4ffae8 100644
--- a/src/highlighter.h
+++ b/src/highlighter.h
@@ -9,8 +9,8 @@ class Highlighter : public QSyntaxHighlighter
{
public:
enum state_e {NORMAL=-1,QUOTE,COMMENT};
- QHash<QString, QTextCharFormat> formatMap;
- QTextCharFormat errorFormat, commentFormat, quoteFormat;
+ QHash<QString, QTextCharFormat> tokenFormats;
+ QTextCharFormat errorFormat, commentFormat, quoteFormat, numberFormat;
Highlighter(QTextDocument *parent);
void highlightBlock(const QString &text);
void highlightError(int error_pos);
contact: Jan Huwald // Impressum