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:
parent
fa99c614b9
commit
0cc507214a
5 changed files with 250 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue