| Did you know ... | Search Documentation: |
| syntax_table->syntax |
<-kind
for a description on type char. Type syntax_name is a name_of
type that allows for the following syntactical categories.
Category Context Default table
=========================================
uppercase_letter -- A-Z
lowercase_letter -- a-z
digit -- 0-9
word_separator -- _
symbol --
open_bracket close ([{
close_bracket open }])
end_of_line -- \C-j
white_space -- \C-a - \C-i, \C-k - SPC, DEL - M-DEL
string_quote escape "'
punctuation -- !#$%&*+,-./:;<=>?\^|~
end_of_string -- \C-@
comment_start end
comment_end start
letter -- uppercase_letter|lowercase_letter
word -- letter|digit|word_separator|symbol
layout -- end_of_line|white_space
Notes:
\’(backslash), for Prolog
this is the quote itself.comment_start , comment_end->for_all_comments.
syntax_table->syntax
makes the table forget anything defined for this character.
syntax_table->add_syntax
may be used to specify a character into multiple syntactical categories.
See also text_buffer->syntax
and class editor.
->add_syntax