aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-textedit
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2016-04-27 14:51:28 -0400
committerKen Moore <moorekou@gmail.com>2016-04-27 14:51:28 -0400
commit6cca59e40d7fad640d57b2fe76a682870592deb8 (patch)
tree478ed12bf16caddca232b57619e10e6ec10e5d32 /src-qt5/desktop-utils/lumina-textedit
parentUnhook the stylesheet in the Lumina Theme Engine from the non-desktop applica... (diff)
downloadlumina-6cca59e40d7fad640d57b2fe76a682870592deb8.tar.gz
lumina-6cca59e40d7fad640d57b2fe76a682870592deb8.tar.bz2
lumina-6cca59e40d7fad640d57b2fe76a682870592deb8.zip
Add "bool" to the C++ syntax highlighting.
Diffstat (limited to 'src-qt5/desktop-utils/lumina-textedit')
-rw-r--r--src-qt5/desktop-utils/lumina-textedit/syntaxSupport.cpp2
1 files changed, 1 insertions, 1 deletions
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()) );
bgstack15