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

@ -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(),