1
0
Fork 0
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:
Robert Bieber 2010-06-11 19:51:34 +00:00
parent 0cca15c6d0
commit 3c95dbb208
6 changed files with 34 additions and 13 deletions

View file

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