1
0
Fork 0
forked from len0rd/rockbox

Theme Editor: Added line numbering in the text editor, thanks to some code from Nokia. Also made newly opened documents scroll to the top of the document after loading

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26683 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Robert Bieber 2010-06-08 07:57:43 +00:00
parent fa99c614b9
commit 0cc507214a
5 changed files with 250 additions and 5 deletions

View file

@ -25,11 +25,11 @@
#include <QWidget>
#include <QLabel>
#include <QHBoxLayout>
#include <QPlainTextEdit>
#include "skinhighlighter.h"
#include "parsetreemodel.h"
#include "preferencesdialog.h"
#include "codeeditor.h"
class SkinDocument : public QWidget
{
@ -81,7 +81,7 @@ private:
QTextCharFormat errorColor;
QLayout* layout;
QPlainTextEdit* editor;
CodeEditor* editor;
SkinHighlighter* highlighter;
ParseTreeModel* model;