From 0cc507214ab3d5c35512add1e6150c4042e0aa1c Mon Sep 17 00:00:00 2001 From: Robert Bieber Date: Tue, 8 Jun 2010 07:57:43 +0000 Subject: 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 --- utils/themeeditor/skindocument.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils/themeeditor/skindocument.h') 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 @@ #include #include #include -#include #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; -- cgit v1.2.3