[ < ] | [ > ] | [ << ] | [Plus haut] | [ >> ] | [Top] | [Table des matières] | [Index] | [ ? ] |
This section describes additional variables that a major mode can set by
means of other-vars in font-lock-defaults
(voir la section Font Lock Basics).
If this variable is non-nil
, it should be a function that is called
with no arguments, to choose an enclosing range of text for refontification
for the command M-o M-o (font-lock-fontify-block
).
The function should report its choice by placing the region around it. A
good choice is a range of text large enough to give proper results, but not
too large so that refontification becomes slow. Typical values are
mark-defun
for programming modes or mark-paragraph
for textual
modes.
This variable specifies additional properties (other than
font-lock-face
) that are being managed by Font Lock mode. It is used
by font-lock-default-unfontify-region
, which normally only manages
the font-lock-face
property. If you want Font Lock to manage other
properties as well, you must specify them in a facespec in
font-lock-keywords
as well as add them to this list.
Voir la section Search-based Fontification.
Function to use for fontifying the buffer. The default value is
font-lock-default-fontify-buffer
.
Function to use for unfontifying the buffer. This is used when turning off
Font Lock mode. The default value is
font-lock-default-unfontify-buffer
.
Function to use for fontifying a region. It should take two arguments, the
beginning and end of the region, and an optional third argument
verbose. If verbose is non-nil
, the function should
print status messages. The default value is
font-lock-default-fontify-region
.
Function to use for unfontifying a region. It should take two arguments,
the beginning and end of the region. The default value is
font-lock-default-unfontify-region
.
[ < ] | [ > ] | [ << ] | [Plus haut] | [ >> ] | [Top] | [Table des matières] | [Index] | [ ? ] |
Ce document a été généré par Eric Reinbold le 13 Octobre 2007 en utilisant texi2html 1.78.