[ < ] | [ > ] | [ << ] | [Plus haut] | [ >> ] | [Top] | [Table des matières] | [Index] | [ ? ] |
When the syntax table is not flexible enough to specify the syntax of a
language, you can use syntax-table
text properties to override the
syntax table for specific character occurrences in the buffer. Voir la section Text Properties. You can use Font Lock mode to set syntax-table
text
properties. Voir la section Setting Syntax Properties.
The valid values of syntax-table
text property are:
If the property value is a syntax table, that table is used instead of the current buffer's syntax table to determine the syntax for this occurrence of the character.
(syntax-code . matching-char)
A cons cell of this format specifies the syntax for this occurrence of the character. (voir la section Syntax Table Internals)
nil
If the property is nil
, the character's syntax is determined from the
current syntax table in the usual way.
If this is non-nil
, the syntax scanning functions pay attention to
syntax text properties. Otherwise they use only the current syntax table.
Ce document a été généré par Eric Reinbold le 13 Octobre 2007 en utilisant texi2html 1.78.