Slick V3.3 manual Table of style Values, Table of style Value Value of style Description Linenum

Models: V3.3

1 568
Download 568 pages 2.03 Kb
Page 516
Image 516

Creating a Lexer Name and a

New VLX File

Statement

Description

 

 

keywords= [keyword ] [keyword ] ...

Defines words that should be displayed in keyword

 

color. Keywords do not have to be valid identifiers.

 

 

cskeywords= [keyword ] [keyword ] ...

(Case-sensitive keywords) Defines words that

 

should be displayed in keyword color only if found

 

in the case specified. This statement should only be

 

used for languages such as HTML which are case

 

insensitive except for a few words. For other lan-

 

guages, use the case-sensitive and keywords

 

statements. Keywords do not have to be valid iden-

 

tifiers.

 

 

ppkeywords= [keyword ] [keyword ] ...

Defines words that should be displayed in prepro-

 

cessor color. The first character of a preprocessor

 

keyword must not be a valid identifer. Prepro-

 

cessing keywords must appear as the first non-

 

blank symbol in the line.

 

 

symbol1= [ keyword ] [ keyword ] ...

Defines words that should be displayed in symbol1

 

color. Keywords do not have to be valid identifiers.

 

 

symbol2= [keyword ] [keyword ] ...

Defines words that should be displayed in symbol2

 

color. Keywords do not have to be valid identifiers.

 

 

symbol3= [keyword ] [keyword ] ...

Defines words that should be displayed in symbol3

 

color. Keywords do not have to be valid identifiers.

 

 

symbol4= [keyword ] [keyword ] ...

Defines words that should be displayed in symbol4

 

color. Keywords do not have to be valid identifiers.

 

 

Table of style Values

The table below describes the style values that can be used.

Table 11.6. Table of style Value

Value of style

Description

 

 

linenum

Line numbers may be found as the first non-blank

 

symbol of a line like BASIC.

 

 

dqbackslash

Color double-quoted strings. Characters following a

 

backslash in a double-quoted string are included in

 

the string (like C).

 

 

 

 

494

Page 516
Image 516
Slick V3.3 manual Table of style Values, Table of style Value Value of style Description Linenum, Dqbackslash