diff options
author | Ken Moore <moorekou@gmail.com> | 2016-04-27 14:51:28 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2016-04-27 14:51:28 -0400 |
commit | 6cca59e40d7fad640d57b2fe76a682870592deb8 (patch) | |
tree | 478ed12bf16caddca232b57619e10e6ec10e5d32 /src-qt5/desktop-utils/lumina-textedit | |
parent | Unhook the stylesheet in the Lumina Theme Engine from the non-desktop applica... (diff) | |
download | lumina-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.cpp | 2 |
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()) ); |