From 0c383538693f04d1e5bc81f4af6a6e9585296bcb Mon Sep 17 00:00:00 2001 From: Robert Bieber Date: Fri, 11 Jun 2010 19:03:49 +0000 Subject: Theme Editor: Switched error highlighting to the line numbers git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26785 a1c6a512-1295-4272-9138-f99709370657 --- utils/themeeditor/codeeditor.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'utils/themeeditor/codeeditor.h') 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 errors; }; //![codeeditordefinition] -- cgit v1.2.3