diff options
author | Ken Moore <ken@ixsystems.com> | 2017-06-11 07:09:37 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-06-11 07:09:37 -0400 |
commit | f9729e0a6b15c3d977f6b6e6e9060a554dbe23e0 (patch) | |
tree | e6a007eb8aa84a550f0b7cc7d3a59addb759dfe7 /src-qt5/desktop-utils/lumina-textedit/syntaxSupport.h | |
parent | Add support for a new "file_regex" flag in the JSON syntax manifests that can... (diff) | |
download | lumina-f9729e0a6b15c3d977f6b6e6e9060a554dbe23e0.tar.gz lumina-f9729e0a6b15c3d977f6b6e6e9060a554dbe23e0.tar.bz2 lumina-f9729e0a6b15c3d977f6b6e6e9060a554dbe23e0.zip |
Add an XML syntax highlighting rule to LTE. Seems fully-functional.
Diffstat (limited to 'src-qt5/desktop-utils/lumina-textedit/syntaxSupport.h')
-rw-r--r-- | src-qt5/desktop-utils/lumina-textedit/syntaxSupport.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src-qt5/desktop-utils/lumina-textedit/syntaxSupport.h b/src-qt5/desktop-utils/lumina-textedit/syntaxSupport.h index d168b70f..bffbfd1a 100644 --- a/src-qt5/desktop-utils/lumina-textedit/syntaxSupport.h +++ b/src-qt5/desktop-utils/lumina-textedit/syntaxSupport.h @@ -24,11 +24,6 @@ struct SyntaxRule{ QRegExp startPattern, endPattern; //multi-line rules QTextCharFormat format; }; -//Complicated/multi-line rules -struct SyntaxRuleSplit{ - QRegExp startPattern, endPattern; - QTextCharFormat format; -}; class SyntaxFile{ private: @@ -63,10 +58,7 @@ class Custom_Syntax : public QSyntaxHighlighter{ Q_OBJECT private: QSettings *settings; - //QString lasttype; SyntaxFile syntax; - //QVector<SyntaxRule> rules; - //QVector<SyntaxRuleSplit> splitrules; public: Custom_Syntax(QSettings *set, QTextDocument *parent = 0) : QSyntaxHighlighter(parent){ |