[Top][All Lists]

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

Re: Multiline font lock questions

From: David Abrahams
Subject: Re: Multiline font lock questions
Date: Fri, 17 Nov 2006 13:26:05 -0500
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.0 (gnu/linux)

"rgb" <address@hidden> writes:

>>    * Place a `font-lock-multiline' property on the construct when it is
>>      added to the buffer.
>> I don't understand how that can help.  If I start with
>> +------------+
>> |This [is    |
>> |paragraph 1 |
>> |            |
>> |This is     |
>> |paragraph] 2|
>> +------------+
>> then presumably nothing is marked with the `font-lock-multiline'
>> property, because there are no multiline constructs.  If I then kill
>> the blank line, how is it going to know to start identification at the
>> beginning of the newly-formed paragraph?
> Look at the SYNTAX-BEGIN argument of font-lock-defaults.

IIUC that is only for `syntactic fontification,' which apparently
refers just to fontifying comments and strings.  Did I misinterpret
the doc?
Dave Abrahams
Boost Consulting

reply via email to

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