1
0
Fork 0
forked from len0rd/rockbox

Theme Editor: Switched error highlighting to the line numbers

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26785 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Robert Bieber 2010-06-11 19:03:49 +00:00
parent 3fec40194c
commit 0c38353869
3 changed files with 13 additions and 13 deletions

View file

@ -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]