diff options
author | Robert Bieber <robby@bieberphoto.com> | 2010-06-11 19:03:49 +0000 |
---|---|---|
committer | Robert Bieber <robby@bieberphoto.com> | 2010-06-11 19:03:49 +0000 |
commit | 0c383538693f04d1e5bc81f4af6a6e9585296bcb (patch) | |
tree | d024070233b007b1e1c232c600f9b17009b2bd2e /utils/themeeditor/codeeditor.h | |
parent | 3fec40194c2c07a1693536f08cb9214cec390cf9 (diff) |
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.h | 3 |
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: void lineNumberAreaPaintEvent(QPaintEvent *event); int lineNumberAreaWidth(); + void addError(int line){ errors.append(line); } + void clearErrors(){ errors.clear(); } protected: void resizeEvent(QResizeEvent *event); @@ -69,6 +71,7 @@ private slots: private: QWidget *lineNumberArea; + QList<int> errors; }; //![codeeditordefinition] |