Bug 95964

Summary: Kate doesn't syntax highlight .H header files.
Product: [Applications] kate Reporter: Joseph Turian <turian>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: RedHat Enterprise Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Joseph Turian 2004-12-29 06:47:55 UTC
Version:           3.3.2-1.2.rhel3.kde (using KDE KDE 3.3.2)
Installed from:    RedHat RPMs
OS:                Linux

Kate doesn't syntax highlight my .H header files.
However, it *does* highlight .h files automatically.

A perhaps related issue:
If I go to "Configure Kate > Highlighting", then "None" is the highlighting mode.
If I select "Source/C++" highlighting mode, close the configure window, and reopen the configure window, my changes have been lost and it's back to "None" highlighting mode.

I've seen several similar bugs, which may be pertinent:
#44144 http://bugs.kde.org/show_bug.cgi?id=44144
#60728 http://bugs.kde.org/show_bug.cgi?id=60728
#77713 http://bugs.kde.org/show_bug.cgi?id=77713
#77244 http://bugs.kde.org/show_bug.cgi?id=77244

However, I haven't seen anyone report this specific bug. Hence, this bug report.
Comment 1 Christoph Cullmann 2004-12-29 21:29:32 UTC
CVS commit by cullmann: 

BUG: 95964
add .H extension to C++


  M +1 -1      cpp.xml   1.78


--- kdelibs/kate/data/cpp.xml  #1.77:1.78
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE language SYSTEM "language.dtd">
-<language name="C++" version="1.28" kateversion="2.4" section="Sources" extensions="*.cxx;*.cpp;*.cc;*.C;*.h;*.hxx;*.hpp;*.hcc;*.moc" mimetype="text/x-c++src;text/x-c++hdr;text/x-chdr" priority="9">
+<language name="C++" version="1.29" kateversion="2.4" section="Sources" extensions="*.cxx;*.cpp;*.cc;*.C;*.h;*.H;*.hxx;*.hpp;*.hcc;*.moc" mimetype="text/x-c++src;text/x-c++hdr;text/x-chdr" priority="9">
   <highlighting>
     <list name="keywords">