forked from len0rd/rockbox
* WPS editor: set eol-style
* Add CLI-only screenshot utility (using libwps) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18402 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4f26222a9f
commit
c1c1383e23
9 changed files with 1378 additions and 82 deletions
|
@ -1,21 +1,21 @@
|
|||
#ifndef QSYNTAXER_H
|
||||
#define QSYNTAXER_H
|
||||
//
|
||||
#include <QSyntaxHighlighter>
|
||||
|
||||
class QTextCharFormat;
|
||||
|
||||
class QSyntaxer : public QSyntaxHighlighter {
|
||||
Q_OBJECT
|
||||
struct HighlightingRule {
|
||||
QRegExp pattern;
|
||||
QTextCharFormat format;
|
||||
};
|
||||
QMap<QString,HighlightingRule> hrules;
|
||||
public:
|
||||
QSyntaxer(QTextDocument *parent = 0);
|
||||
|
||||
protected:
|
||||
void highlightBlock(const QString &text);
|
||||
};
|
||||
#endif
|
||||
#ifndef QSYNTAXER_H
|
||||
#define QSYNTAXER_H
|
||||
//
|
||||
#include <QSyntaxHighlighter>
|
||||
|
||||
class QTextCharFormat;
|
||||
|
||||
class QSyntaxer : public QSyntaxHighlighter {
|
||||
Q_OBJECT
|
||||
struct HighlightingRule {
|
||||
QRegExp pattern;
|
||||
QTextCharFormat format;
|
||||
};
|
||||
QMap<QString,HighlightingRule> hrules;
|
||||
public:
|
||||
QSyntaxer(QTextDocument *parent = 0);
|
||||
|
||||
protected:
|
||||
void highlightBlock(const QString &text);
|
||||
};
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue