summaryrefslogtreecommitdiff
path: root/utils/themeeditor/codeeditor.h
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2010-06-11 19:03:49 +0000
committerRobert Bieber <robby@bieberphoto.com>2010-06-11 19:03:49 +0000
commit0c383538693f04d1e5bc81f4af6a6e9585296bcb (patch)
treed024070233b007b1e1c232c600f9b17009b2bd2e /utils/themeeditor/codeeditor.h
parent3fec40194c2c07a1693536f08cb9214cec390cf9 (diff)
downloadrockbox-0c383538693f04d1e5bc81f4af6a6e9585296bcb.tar.gz
rockbox-0c383538693f04d1e5bc81f4af6a6e9585296bcb.zip
Theme Editor: Switched error highlighting to the line numbers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26785 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/codeeditor.h')
-rw-r--r--utils/themeeditor/codeeditor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/themeeditor/codeeditor.h b/utils/themeeditor/codeeditor.h
index edbe218ec4..ec36d50c22 100644
--- a/utils/themeeditor/codeeditor.h
+++ b/utils/themeeditor/codeeditor.h
@@ -59,6 +59,8 @@ public:
59 59
60 void lineNumberAreaPaintEvent(QPaintEvent *event); 60 void lineNumberAreaPaintEvent(QPaintEvent *event);
61 int lineNumberAreaWidth(); 61 int lineNumberAreaWidth();
62 void addError(int line){ errors.append(line); }
63 void clearErrors(){ errors.clear(); }
62 64
63protected: 65protected:
64 void resizeEvent(QResizeEvent *event); 66 void resizeEvent(QResizeEvent *event);
@@ -69,6 +71,7 @@ private slots:
69 71
70private: 72private:
71 QWidget *lineNumberArea; 73 QWidget *lineNumberArea;
74 QList<int> errors;
72}; 75};
73 76
74//![codeeditordefinition] 77//![codeeditordefinition]