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
|
@ -132,7 +132,7 @@ void CodeEditor::lineNumberAreaPaintEvent(QPaintEvent *event)
|
|||
if(errors.contains(blockNumber + 1))
|
||||
{
|
||||
painter.fillRect(QRect(0, top, lineNumberArea->width(),
|
||||
fontMetrics().height()), Qt::red);
|
||||
fontMetrics().height()), errorColor);
|
||||
}
|
||||
painter.setPen(Qt::black);
|
||||
painter.drawText(0, top, lineNumberArea->width(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue