Hello,
maybe anybody of you can add a little patch to mc that would help other guys
too. In the default setting mcedit does not highlight the syntax of hpp
files. This is because mcedit detect the highlighting on the basis of a file
mask. The according file mask for the hpp files is missing at the moment.
To fix this /usr/share/mc/syntax/Syntax has to be patched with the following:
-----------------------------------8<-----------------------------------------
--- Syntax.orig 2006-02-16 11:32:25.000000000 +0100
+++ Syntax 2006-02-16 11:20:14.000000000 +0100
@@ -72,7 +72,7 @@
file ..\*\.(texi|texinfo|TEXI|TEXINFO)$ Texinfo\sDocument
include texinfo.syntax
-file ..\*\\.([chC]|CC|cxx|cc|cpp|CPP|CXX|hxx|h.in)$ C/C\+\+\sProgram
+file ..\*\\.([chC]|CC|cxx|cc|cpp|CPP|CXX|hxx|h|hpp|HPP\.in)$ C/C\+\+\sProgram
include c.syntax
file ..\*\\.[fF]$ Fortran\sProgram
----------------------------------->8-----------------------------------------
Regards,
Dennis Sieben
Attachment:
pgpXmcL90h0Jg.pgp
Description: PGP signature