From f9729e0a6b15c3d977f6b6e6e9060a554dbe23e0 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Sun, 11 Jun 2017 07:09:37 -0400 Subject: Add an XML syntax highlighting rule to LTE. Seems fully-functional. --- src-qt5/desktop-utils/lumina-textedit/syntaxSupport.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src-qt5/desktop-utils/lumina-textedit/syntaxSupport.h') 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 rules; - //QVector splitrules; public: Custom_Syntax(QSettings *set, QTextDocument *parent = 0) : QSyntaxHighlighter(parent){ -- cgit