
Code coloring 77
Attributes
name, id
■ name="operator_name" A string that assigns a name to the list of operator characters.
■ id="id_string" Required. An identifier string that maps color and style to this syntax
item.
Example
<operators name="Operator" id="CodeColor_JavaOperator"><![CDATA[+-*/
%<>!?:=&|^~]]></operators>
<regexp>
Description
Specifies a list of searchPattern tags.
Attributes
name, id, delimiter, escape
■ name="stringStart_name" A string that assigns a name to the list of search pattern
strings.
■ id="id_string" Required. An identifier string that maps color and style to this syntax
item.
■ delimiter The character or string that starts and ends a regular expression.
■ escape The character or string that signals special character processing, known as the
“escape” character or string.
Contents
<searchPattern></searchPattern>
Example
<regexp name="RegExp" id="CodeColor_JavascriptRegexp" delimiter="/"
escape="\\">
<searchPattern><![CDATA[(\s*/\e*\\/]]></searchPattern>
<searchPattern><![CDATA[=\s*/\e*\\/]]></searchPattern>
</regexp>
<sampleText>
Description
Representative text that appears in the Preview window of the Edit Coloring Scheme dialog
box. For more information on the Edit Coloring Scheme dialog box, see “Editing schemes”
on page 87.
Kommentare zu diesen Handbüchern