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.tar.gz
rockbox-0cc507214ab3d5c35512add1e6150c4042e0aa1c.zip
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 b5eb60b2f4..c8f92955f5 100644
--- a/utils/themeeditor/skindocument.h
+++ b/utils/themeeditor/skindocument.h
@@ -25,11 +25,11 @@
25#include <QWidget> 25#include <QWidget>
26#include <QLabel> 26#include <QLabel>
27#include <QHBoxLayout> 27#include <QHBoxLayout>
28#include <QPlainTextEdit>
29 28
30#include "skinhighlighter.h" 29#include "skinhighlighter.h"
31#include "parsetreemodel.h" 30#include "parsetreemodel.h"
32#include "preferencesdialog.h" 31#include "preferencesdialog.h"
32#include "codeeditor.h"
33 33
34class SkinDocument : public QWidget 34class SkinDocument : public QWidget
35{ 35{
@@ -81,7 +81,7 @@ private:
81 QTextCharFormat errorColor; 81 QTextCharFormat errorColor;
82 82
83 QLayout* layout; 83 QLayout* layout;
84 QPlainTextEdit* editor; 84 CodeEditor* editor;
85 85
86 SkinHighlighter* highlighter; 86 SkinHighlighter* highlighter;
87 ParseTreeModel* model; 87 ParseTreeModel* model;