[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-nano] C language color syntax highlighting
From: |
Neil Brown |
Subject: |
Re: [Help-nano] C language color syntax highlighting |
Date: |
Tue, 06 Jan 2004 20:30:57 +0000 |
At 03:18 PM 06/01/2004 -0500, Geremy F. wrote:
Hi,
Thanks for the reply! I'm sorry I should have specified the problem
better, but those three expressions did not work at all. The other syntex
highlighting specified (comments, strings and preprocessor) worked great.
Just in case the |s were causing trouble, here are my (working fine, on
nano 1.2.2) C++ keyword regexes:
color brightblue "\<float\>" "\<char\>" "\<int\>" "\<void\>" "\<bool\>"
"\<double\>"
color brightblue "\<static\>" "\<const\>" "\<struct\>" "\<inline\>"
"\<class\>" "\<union\>"
color brightblue "\<if\>" "\<while\>" "\<do\>" "\<else\>" "\<case\>"
"\<switch\>" "\<return\>" "\<for\>"
color brightblue "\<namespace\>" "\<template\>" "\<public\>"
"\<protected\>" "\<private\>" "\<typename\>"
color brightblue "\<long\>" "\<short\>" "\<this\>" "\<unsigned\>"
"\<signed\>" "\<typedef\>" "\<friend\>"
color brightblue "\<virtual\>" "\<using\>" "\<try\>" "\<throw\>"
"\<catch\>" "\<break\>" "\<continue\>"
color brightblue "\<operator\>" "\<sizeof\>" "\<mutable\>" "\<volatile\>"
"\<register\>"
color brightblue "\<new\>" "\<delete\>" "\<default\>" "\<enum\>"
"\<explicit\>" "\<extern\>"
(Others might find in handy too)
Neil.