Bug 75602

Summary: falsely highlights C++ sources as Qt sources
Product: [Applications] kate Reporter: Ulrich Eckhardt <doomster>
Component: syntaxAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

Description Ulrich Eckhardt 2004-02-19 13:17:14 UTC
Version:           3.0.0 (using KDE KDE 3.2.0)
Installed from:    Debian testing/unstable Packages

The problem is mainly that using Qt, you in fact write programs in a different language than in C++. Qt sources are first transformed to C++ and then compiled. Both are very similar, but still, Qt is not C++.
This manifests itself in the fact that syntax-highlighting is messed up for C++ code that uses Qt-keywords, which are normal identifiers in C++, like 'slots' or 'emit'.

 cheers & thumbs up! 

Uli
Comment 1 Jens Dagerbo 2004-02-20 04:04:08 UTC
No, "C++ with Qt" and "plain C++" are not two different languages. It would not only be strange, but also very hard to try to differentiate between them. I smell a WONTFIX. 

Anyway, this is Kate territory. Reassigning.
Comment 2 Christoph Cullmann 2004-02-20 12:41:19 UTC
qt keywords are highlighted as extension, in different color, should be no problem to recognize that this is addon syntax, won't fix