Mercurial > emacs
comparison lispref/modes.texi @ 60784:569b1f95bbe0
(Other Font Lock Variables): Document font-lock-lines-before.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 21 Mar 2005 17:52:30 +0000 |
parents | abf7b131c9ab |
children | 38d95bf39f6e 13796b0653c7 |
comparison
equal
deleted
inserted
replaced
60783:73b73eabbe62 | 60784:569b1f95bbe0 |
---|---|
2379 comments differently. It is also sometimes abused together with | 2379 comments differently. It is also sometimes abused together with |
2380 @code{font-lock-syntactic-keywords} to highlight elements that span | 2380 @code{font-lock-syntactic-keywords} to highlight elements that span |
2381 multiple lines, but this is too obscure to document in this manual. | 2381 multiple lines, but this is too obscure to document in this manual. |
2382 @end defvar | 2382 @end defvar |
2383 | 2383 |
2384 @defvar font-lock-lines-before | |
2385 This variable specifies the number of extra lines to consider when | |
2386 refontifying the buffer after each text change. Font lock begins | |
2387 refontifying from that number of lines before the changed region. The | |
2388 default is 1, but using a larger value can be useful for coping with | |
2389 multi-line patterns. | |
2390 @end defvar | |
2391 | |
2384 @node Levels of Font Lock | 2392 @node Levels of Font Lock |
2385 @subsection Levels of Font Lock | 2393 @subsection Levels of Font Lock |
2386 | 2394 |
2387 Many major modes offer three different levels of fontification. You | 2395 Many major modes offer three different levels of fontification. You |
2388 can define multiple levels by using a list of symbols for @var{keywords} | 2396 can define multiple levels by using a list of symbols for @var{keywords} |