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:
parent
3fec40194c
commit
0c38353869
3 changed files with 13 additions and 13 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue