On Mon, Feb 27, 2012 at 5:53 AM, Stefan Monnier
<monnier@iro.umontreal.ca> wrote:
Which feature? There are various.
Most of the "multiline font locking" features are aimed at solving the
situation were a single font-lock rule can match a chunk of text that
spans several lines (e.g. putting a bold font on text within
"\textbf{...}").
For your case (of highlighting the CSS or Javascript part of an HTML
buffer), I think that a "multi-major-mode" approach is more promising,
tho this is an even harder problem to solve than mere multiline
font locking.
I'm sorry. I realize now that my question was unclear. I don't want
mode specific highlighting within javascript/css chunks. I only want to
see that the chunks are there by applying a face with a slightly different background. So
this is simply a problem of multiline font-locking.