|






| Version Control: Link Downloads: 697
| Submitted: Oct 3 2008 Updated: Oct 29 2012
| | Description:
Fixes I've done since the 1.42 version:
0) non C++ keywords are removed. Particularly:
0.1) type_info is just a class name from std::
0.2) bad_cast, bad_typeid are exception classes from std::
0.3) xalloc is just a method from std::ios
0.4) except, finally non standard (java?) keywords
0.5) qobject_cast moved to Qt related stuff
1) add highlighting for std:: namespace
2) add universal-character-name highlighting (\uXXXX and \UXXXXXXXX) in strings
To install copy XML files to ~/.kde4/share/apps/katepart/syntax/
Second download link is my C++ color scheme on github -- ppl asked me from time to time to share it also... nowadays kate is able to import/export color schemes, so it would be easy to exchange them :)
-- Since version 1.49.8 it has support for Qt 4.8 this release may supersede seems abandoned Syntax highlighting for Qt also hosted here on this site.
-- after few years, I think this file isn't just a fix for official "buggy" C++ syntax highlighter (yeah! at least it was buggy, it is why I've started to maintain this "project"). So since the 1.49.8 release I'd decided to rename it :) cuz it leaves official version far beyond and can be considered as alternative to standard/shipped C++ syntax. Hope u like it... :)
ATTENTION: This higlighter moved upstream as `C++11' revision 1.52 and can be downloaded from Kate itself.
So you have to remove all files installed manually before from my tarball! Further updates will appear in kate.git. Nowadays it has lower priority than C++03, so to use it one have to rise a priority number for it in the `Configure Kate' -> `Open/Save' -> `Modes & Filetypes' dialog.
Changelog:
Version 1.43.1
* adopted changes from 1.43 version
* added highlighting for "boost" namespace and "BOOST_XXX" macros
* added highlighting for namespaces usually used as implementation helpers for smth (i.e. aux, details)
Version 1.43.2
* added GNU extensions highlighting (__attribute__, & etc.)
* removed highlighting inside of '#if 0' clause (so comments and "outscoped" text looks same)
Version 1.43.3
* GCC __builtin_'s are colored as GNU Extensions
Version 1.44.1
* adopt few changes from official 1.44 release
Version 1.44.2
* now recognizing __declspec, __PRETTY_FUNCTION__ and __FUNCTION__ as GNU Extensions
* standard and GCC specific predefined macros now colored
Version 1.44.3
* implemented wishlist from http://bugs.kde.org/show_bug.cgi?id=162249
* introduced 'aligned' comments -- i.e. in most source files programmers (including me) use 4 spaces for TAB. 'aligned comments' are highlighted (as region markers) if they are at position divisible by 4
* got rid of few regexes which should improve performance a little... :)
Version 1.44.4
* add highlighting for printf-like formatting strings
* properly hilighting for long float contstants -- i.e. with 'L' suffix
* now recognizing type qualifiers and modifiers as separate (from type) highlighting class
Version 1.45.1
* add highlighting for some common names convention:
*) m_prefixed names -- usually mean data members
*) s_prefixed names -- usually mean static variables
*) g_prefixed names -- usually mean globals
*) UPPER_CASED_NAMES -- usually mean constants or macros
*) _t/_type suffixed names -- usually mean types
Version 1.46.1
* Just version incrase. Cuz official cpp.xml just introduce couple of fixes what was already implemented in my 1.42 and 1.43.2 revisions
Version 1.47.1
* Merge with official v1.47
* GNU extension '__restrict__' added
Version 1.47.2: C++0x READY! :)
* new types: char16_t, char32_t
* new keywords: decltype, satic_assert, nullptr, noexcept, constexpr
* new type modifier: thread_local
* character literals highlighting refactored according 2.14.3 (see snapshot)
* string literals highlighting refactored according 2.14.5 (raw strings also supported) (see snapshot)
* also: make #else block of '#if 1' looks like comment (just like '#if 0' does)
Version 1.47.3
* fix incorrect highlighting when comment aside of '#if 0' occurs
* fix incorrect highlighting when incomplete (open) C style comment present inside the '#if 0' block:
#if 0
/*
#endif
Version 1.47.4
* fix nested #if1/#if0 blocks highlighting
Version 1.47.5
* More GNU GCC extensions:
*) typeinfo (see info page 6.6)
*) additional floating types (info page 6.10)
*) more builtins (info page 7.9)
* fix symbols highlighting after std::, boost:: and details namespaces
Version 1.47.6
* forgot about `alignof' keyword :)
* symbols with '_' at end highlighted as Data members (to be compliant to Google code style)
Version 1.47.7
* `extern' moved from keywords to type specifiers (according standard)
* remove `connect', `disconnect' and `emit' from Qt extensions cuz they are not only Qt specific
* digraph and trigraph replacements for '#' character handling in preprocessor
* symbols w/ more than one trailing underscore recognized as Implementation Details
Version 1.48.1
* more GCC builtins (__sync_*) and extensions (according info files)
Version 1.49.1
* version bump. official syntax has little more C++0x keywords now. (already done in my version)
Version 1.49.2
* fix "details::some_struct::template some_method(...)" to highlight template as a Keyword
Version 1.49.3
* more C++0x keywords introduced by N3272 document
* more GCC predefined macros (mostly x86/x86-64 platform specific)
* fix incorrect highlighting in some cases introduced by 1.49.2
Version 1.49.4
* added __func__ predefined identifier
* GNU GCC binary constants are highlighted as GNU Extensions
* decimal floating types added as GNU Extensions (see gcc info page 6.12)
Version 1.49.5
* change higlighting of a backslash in preprocessor #defines to make it more visible (highlighted as Separator Symbol) and it must be the last symbol on a line
* in other contexts backslashes and '@'s are highlighted as Error
Version 1.49.6
* just few predefined GCC macros has been added
Version 1.49.8
* the c++.xml has been splitted into pieces (included into the main C++ file)
* introduce Qt 4.8 higlighting: namespaces, classes, free/static functions, macros -- everything according latest docs at nokia site
* introduce Kate modelines highlihting in comments (implemented as a separate file, ready to be included into others, just like alerts.xml)
* gcc specifics are moved into a separate file (yep, ready to be included by other C/C++ xmls) and updated according gcc 4.6.3 docs.
Version 1.49.9
* avoid to use builtin number detectors cuz lack of features and C++ standard incompatibility. number detectors reimplemented according standard.
* introduced support for highlighting of user defined literals
* some GCC extensions updated according version 4.7.1
Version 1.49.10
* split GNU Extensions into Functions, Types, Keywords
* fix spellchecking attributes for strings and comments
Version 1.50.1
* since 'Generalized attributes' and 'Alignment support' has been implemented in GCC 4.8 branch (http://gcc.gnu.org/gcc-4.8/cxx0x_status.html), it is time to add higlighting for them...
Version 1.52
* this is first upstream version (available for download via Kate since 29-Oct-2012)
License: GPL
|
| |
 | |
 | |
 | |
 | |
Add commentBack
|