summaryrefslogtreecommitdiff
path: root/utils/themeeditor/skindocument.h
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2010-06-08 07:57:43 +0000
committerRobert Bieber <robby@bieberphoto.com>2010-06-08 07:57:43 +0000
commit0cc507214ab3d5c35512add1e6150c4042e0aa1c (patch)
tree6a78263259233b95cf236f3d700372d489c46ae6 /utils/themeeditor/skindocument.h
parentfa99c614b90c17c79f75b54a68e311324eda4184 (diff)
downloadrockbox-0cc507214ab3d5c35512add1e6150c4042e0aa1c.zip
rockbox-0cc507214ab3d5c35512add1e6150c4042e0aa1c.tar.gz
rockbox-0cc507214ab3d5c35512add1e6150c4042e0aa1c.tar.bz2
rockbox-0cc507214ab3d5c35512add1e6150c4042e0aa1c.tar.xz
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
Diffstat (limited to 'utils/themeeditor/skindocument.h')
-rw-r--r--utils/themeeditor/skindocument.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/themeeditor/skindocument.h b/utils/themeeditor/skindocument.h
index b5eb60b..c8f9295 100644
--- a/utils/themeeditor/skindocument.h
+++ b/utils/themeeditor/skindocument.h
@@ -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;