"John L . Fjellstad" <[EMAIL PROTECTED]> writes:
> > It is also possible to specify custom C/C++ keywords/types to be
> > fontified. You'll want to check the comp.emacs.xemacs archives for info
> > on how to do that.
>
> Thanks, I'll take a look. What I really wanted was to get wchar_t
> colored
On Thu, Feb 08, 2001 at 09:26:47PM -0800, John L . Fjellstad wrote:
> How can I add colors to new types in c/c++ mode in x/emacs?
>
> For instance, I want types like
> const, namespace, class
> to be colored.
>
Try something like this in your .emacs:
(font-lock-add-keywords
'c++-mode
'(("\\<\
On Fri, Feb 09, 2001 at 01:30:04AM -0500, S . Salman Ahmed wrote:
> You should not have to. cc-mode in XEmacs recognizes almost all (I
> think) C/C++ keywords.
Well, I found half of my 'problem'. bool was colored because it
isn't a c keyword. So it was colored in my .cpp file, but not
my .h file
How can I add colors to new types in c/c++ mode in x/emacs?
For instance, I want types like
const, namespace, class
to be colored.
--
John__
email: [EMAIL PROTECTED] Quis custodiet ipsos custodes
icq: thales @
4 matches
Mail list logo