From 1d878f2ad1f8cff45520814d15fffccdab58ae1e Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 4 Jul 2015 15:26:03 +0900 Subject: Fixed C++ support in Kate syntax highlighting code. This resolves bug 2455. Signed-off-by: Michele Calgaro (cherry picked from commit 4e55a1cfaa00035481a72f1271aee8954e3053ad) --- kate/part/katehighlight.cpp | 37 +++++++++++++++++++++---------------- 1 file changed, 21 insertions(+), 16 deletions(-) (limited to 'kate/part') diff --git a/kate/part/katehighlight.cpp b/kate/part/katehighlight.cpp index 8c6ce36e5..1adbba2d5 100644 --- a/kate/part/katehighlight.cpp +++ b/kate/part/katehighlight.cpp @@ -2438,28 +2438,33 @@ void KateHighlighting::makeContextList() buildPrefix=it.key()+':'; // attribute names get prefixed by the names // of the highlighting definitions they belong to - if (identifierToUse.isEmpty() ) + if (identifierToUse.isEmpty()) + { kdDebug(13010)<<"OHOH, unknown highlighting description referenced"<