From 6cca59e40d7fad640d57b2fe76a682870592deb8 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Wed, 27 Apr 2016 14:51:28 -0400 Subject: Add "bool" to the C++ syntax highlighting. --- src-qt5/desktop-utils/lumina-textedit/syntaxSupport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src-qt5') diff --git a/src-qt5/desktop-utils/lumina-textedit/syntaxSupport.cpp b/src-qt5/desktop-utils/lumina-textedit/syntaxSupport.cpp index 8e2e347a..27047290 100644 --- a/src-qt5/desktop-utils/lumina-textedit/syntaxSupport.cpp +++ b/src-qt5/desktop-utils/lumina-textedit/syntaxSupport.cpp @@ -56,7 +56,7 @@ void Custom_Syntax::loadRules(QString type){ << "int" << "long" << "namespace" << "operator" << "private" << "protected" << "public" \ << "short" << "signals" << "signed" << "slots" << "static" << "struct" << "template" \ << "typedef" << "typename" << "union" << "unsigned" << "virtual" << "void" << "volatile" \ - << "true" << "false"; + << "true" << "false" << "bool"; SyntaxRule rule; rule.format.setForeground( QColor(settings->value("colors/keyword").toString()) ); -- cgit