From 3c95dbb20859debe99edc874c57ddaa6f3acf3d2 Mon Sep 17 00:00:00 2001 From: Robert Bieber Date: Fri, 11 Jun 2010 19:51:34 +0000 Subject: Theme Editor: Fixed bug in parser handling empty lines and made ParseTreeModel handle the new VIEWPORT element properly git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26792 a1c6a512-1295-4272-9138-f99709370657 --- utils/themeeditor/codeeditor.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'utils/themeeditor/codeeditor.h') diff --git a/utils/themeeditor/codeeditor.h b/utils/themeeditor/codeeditor.h index ec36d50..5df5b42 100644 --- a/utils/themeeditor/codeeditor.h +++ b/utils/themeeditor/codeeditor.h @@ -61,6 +61,7 @@ public: int lineNumberAreaWidth(); void addError(int line){ errors.append(line); } void clearErrors(){ errors.clear(); } + void setErrorColor(QColor color){ errorColor = color; } protected: void resizeEvent(QResizeEvent *event); @@ -72,6 +73,7 @@ private slots: private: QWidget *lineNumberArea; QList errors; + QColor errorColor; }; //![codeeditordefinition] -- cgit v1.1