help-gnu-emacs
[Top][All Lists]
Advanced

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

Adjusting string font-locking to not span multiple lines


From: Nordlöw
Subject: Adjusting string font-locking to not span multiple lines
Date: Fri, 16 May 2008 03:35:48 -0700 (PDT)
User-agent: G2/1.0

Hey there!

I would like to override the behaviour for string highlighting in
lines such as the following.

0       string  \xad6" AMGC archive data

such that the the whole pattern
                   \xad6"
is highlighted in the font-lock-constant-face

in order to prevent font-lock from highlighting the rest of the buffer
in font-lock-string-face.

How do I accomplish this?


Thanks in advance,
Nordlöw


reply via email to

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