
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
Copy the file cpp.xml to ~/.kde/share/apps/katepart/syntax/
11 years ago
== 0.11 ==
Add new Qt 4.6.0 classes.
== 0.10 ==
Add new Qt 4.5.0 classes.
== 0.9 ==
Add new Qt 4.4.0 rc1 classes.
== 0.8 ==
Add new Qt 4.3.0 final classes and all macros.
== 0.7 ==
Add new Qt 4.3.0 beta classes.
== 0.6 ==
Complete Qt 3 and Qt 4 series.
== 0.5 ==
Add all Qt 3.3 classes.
== 0.4 ==
Add "Qt 4.2" and "standard C++" syntax highlighting file for *.cpp and *.h sources.
== 0.3 ==
Add "Qt" keyword for much enum (example Qt::SolidPattern).
== 0.2 ==
Now this file is not replace standard c++ highlighting, but is a new highlighting file, that include also standard c++.
== 0.1 ==
This is a qt highlighting.
11 years ago
== 0.11 ==
Add new Qt 4.6.0 classes.
== 0.10 ==
Add new Qt 4.5.0 classes.
== 0.9 ==
Add new Qt 4.4.0 rc1 classes.
== 0.8 ==
Add new Qt 4.3.0 final classes and all macros.
== 0.7 ==
Add new Qt 4.3.0 beta classes.
== 0.6 ==
Complete Qt 3 and Qt 4 series.
== 0.5 ==
Add all Qt 3.3 classes.
== 0.4 ==
Add "Qt 4.2" and "standard C++" syntax highlighting file for *.cpp and *.h sources.
== 0.3 ==
Add "Qt" keyword for much enum (example Qt::SolidPattern).
== 0.2 ==
Now this file is not replace standard c++ highlighting, but is a new highlighting file, that include also standard c++.
== 0.1 ==
This is a qt highlighting.
milianw
11 years ago
Would you care to cleanup this file so it can be pushed upstream into KDE SVN?
What I would like to see:
- name file qt4.xml
- use IncludeRules (see Kate documentation on Syntax files or http://kate-editor.org/article/writing_a_kate_highlighting_xml_file) to include C++, so no duplication is taking place
- only add qt specific keywords on top of that
=> would make the file lot smaller and simpler
=> changes in cpp.xml won't have to be ported to qt4.xml
If you have questions, contact me e.g. in IRC (milian on freenode, like in #kate).
Report
Maxilys
14 years ago
AFAIK, only a few very common widgets like QSpinWidget, QHeader, QPopupMenu, and propably some others, won't get highlighted.
I think that in these times of transition, a syntax highlighting scheme for both Qt's would make everybody happy.
Report
montoya
14 years ago
Report
Maxilys
14 years ago
Report
GentooUser
14 years ago
Report
accolon
14 years ago
Report
GentooUser
14 years ago
In .cpp file emit, slot and signal highlight but Qt:: etc doesn't
Report
montoya
14 years ago
Report
GentooUser
14 years ago
QHeader for example doesn't highlight
Report
montoya
14 years ago
Report
montoya
14 years ago
Report
s-andy
14 years ago
Report