Bug 75602 - falsely highlights C++ sources as Qt sources
Summary: falsely highlights C++ sources as Qt sources
Status: RESOLVED INTENTIONAL
Alias: None
Product: kate
Classification: Applications
Component: syntax (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-19 13:17 UTC by Ulrich Eckhardt
Modified: 2004-02-20 12:41 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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