forked from len0rd/rockbox
Theme Editor: Fixed bug in parser handling empty lines and made ParseTreeModel handle the new VIEWPORT element properly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26792 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
0cca15c6d0
commit
3c95dbb208
6 changed files with 34 additions and 13 deletions
|
@ -61,6 +61,7 @@ public:
|
|||
int lineNumberAreaWidth();
|
||||
void addError(int line){ errors.append(line); }
|
||||
void clearErrors(){ errors.clear(); }
|
||||
void setErrorColor(QColor color){ errorColor = color; }
|
||||
|
||||
protected:
|
||||
void resizeEvent(QResizeEvent *event);
|
||||
|
@ -72,6 +73,7 @@ private slots:
|
|||
private:
|
||||
QWidget *lineNumberArea;
|
||||
QList<int> errors;
|
||||
QColor errorColor;
|
||||
};
|
||||
|
||||
//![codeeditordefinition]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue