[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Avoiding Font-locking in comments

From: Nordlöw
Subject: Avoiding Font-locking in comments
Date: Mon, 10 Dec 2007 00:35:58 -0800 (PST)
User-agent: G2/1.0

How can I make my extra font locking in cc-mode be applied to the code
only and not inside the comments? Is there a shortcuts where I can
check if the context is (not) inside a comment or do I have to do it
the hard way by checking that we are not inside a /* ... */ or // ...
newline context?

Thanks in advance,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]