Sie sind auf Seite 1von 14

Code Editor Configuration

A variety of code editor features can be customized through setting properties in the code
editor configuration files.

Configuration Files
Code editor configuration files are located in the Configdirectory under the Enterprise
Architect installation directory. The Config directory contains a configuration file for
each language supported by Enterprise Architect.
Loading of code editor properties is done in two steps
1. The global configuration file global.propertiesis parsed
2. The language specific configuration file (eg javaSyntax.properties,
cppSyntax.properties) is parsed. In the event that a property assignment
is specified in both the global and language specific configuration, the language
specific version will be used. Thus the language specific configuration file can be
used to override any properties set in the global configuration file.
The configuration file syntax consists of one key/value pair per line. The key and value
are seperated by the equals (=) operator. Lines that begin with the hash (#) or exclamation
(!) symbols are regarded as comment lines and are not parsed.
NOTE: Property assignments that span over multiple lines are not supported.
Configuration Property Types

A Configuration Property will have a certain type, which determines the format its value
should take. The table below lists the set of valid Configuration Property Types
Type

Description

boolean
number
string
style

Either true or false


Any numeric value
A sequence of characters that form a string literal
A list of style elements delimited by a comma (,). Colors are
defined in HTML notation (eg #FFFFFF)
Valid style elements are:
font:fontname
size:fontsize
fore:color
back:color
bold
italic
eolfilled

Configuration Properties
Configuration properties fall into either one of two categories: GeneralPropertiesor
Lexer Specific Properties.
The lexer is the mechanism used to lexically analyze the editor contents and advise the
editor to apply various styles according to its rules. Generally a lexer applies to a specific
language, however semantically similar languages (such as C++ and Java) may share
lexers.
A lexer will often define its own unique set of style classes (eg operators, keywords,
pragma statements). Thus Lexer SpecificProperties specify how these unique classes are
to be styled.
Conversely, General Properties can be set in all configuration files regardless of which
lexer is used.
General Properties

Property

Type

Description

AUTO_BRACKETS

boolean

BRACE_HIGHLIGHTING

boolean

Specifies whether a terminating bracket is


automatically entered when an opening bracket is
typed.
Specifies whether automatic brace highlighting is
performed.

COMMENT_LINECOMMENT_TOKEN

string

COMMENT_STREAMCOMMENTSTART_TOKEN

string

COMMENT_STREAMCOMMENTEND_TOKEN

string

FOLD_AT_ELSE

boolean

FOLD_COMMENT

boolean

FOLD_COMPACT

boolean

FOLD_PREPROCESSOR

boolean

LEXER

string

Automatic brace highlighting will visually


highlight both the brace that the cursor neighbours
and its matching brace.
Specifies the token to be added to the start of a line
when it is block commented (CTRL-SHIFT-C)
Specifies the token to be added to the start of the
selection when it is stream commented (CTRLSHIFT-X).
Specifies the token to be added to the end of the
selection when it is stream commented (CTRLSHIFT-X).
Specifies whether the folding routine will create a
new foldable code section for each else
if/else in an if block.
Specifies whether the folding routine will treat
comments as foldable code sections.
Specifies whether the folding routine will consider
blank lines.
Specifies whether the folding routine will treat
preprocessor statements as foldable code sections.
Instructs the editor to use the specified lexer to
decorate the editor contents. The choice of lexer
determines which set of lexer specific properties
can be set.

INDENT_AUTOMATIC

INDENT_BLOCK_START_CHAR

INDENT_BLOCK_END_CHAR

INDENT_GUIDES

INDENT_STATEMENT_END

INDENT_STATEMENT_KEYWORDS

boolean

string

string

boolean

string

string

Supported lexers are:


ada
bat
cpp
diff
eacgt
html
mbnf
pascal
props
python
sql
vb
vbscript
verilog
vhdl
xml
Specifies whether the editor will perform automatic
indentation, based on the scope of the current
control block.
Please consult the property definitions for the
following properties for further customization:
INDENT_BLOCK_START_CHAR
INDENT_BLOCK_END_CHAR
INDENT_STATEMENT_END
INDENT_STATEMENT_KEYWORDS
INDENT_STATEMENT_LOOKBACK
Specifies the token that is used to open a control
block (usually an open brace).
This value is used for calculating automatic
indentation.
Specifies the token that is used to terminate a
control block (usually an closing brace).
This value is used for calculating automatic
indentation.
Specifies whether vertical guides are drawn at each
indent on the line.
Indent guides can be useful in identifying the scope
of control blocks if they are correctly indented.
Specifies the token used to end a statement.
This value is used for calculating automatic
indentation.
A space seperated list of keywords that should
cause an increase in indentation if the control block
is not terminated on the same line.

INDENT_STATEMENT_LOOKBACK

number

INDENT_WIDTH

number

INTELLISENSE_AUTOCOMPLETE_ITEMS

number

MARGIN_COLUMN

number

STYLE_BRACEBAD
STYLE_BRACELIGHT

style
style

STYLE_CALLTIP
TAB_USE_SPACES

style
boolean

TAB_WIDTH
WORD_CHARACTERS

number
string

For example:
case default
do else for if
private protected public while
Specifies the maximum number of lines the editor
will check back on when calculating automatic
indentation.
Sets the size of indentation with respect to the
width of a space character. Setting this value to 0
will result in the indentation size being set to the
same size as a tab.
Sets the maximum number of items that are visible
in the autocomplete list. If the amount of items in
the autocomplete list exceeds this value a vertical
scrollbar will be shown.
Specifies which line the margin line is drawn at. A
value of 0 will turn the margin line off.
Specifies the style for an unmatched brace.
Specifies the style for a currently highlighted
brace.
Specifies the style for intellisense calltips.
Specifies whether indentation is based soley on
spaces. If set to false indentation will be based on a
combination of tabs and spaces.
Defines the width of a tab in characters.
Within the context of the editor, the notion of a
word is defined as a contiguous sequence of
characters that are found in the set of characters
defined by the WORD_CHARACTERS property.
Any editor functions that operate on words refer to
this character set when determining what the word
is.

WHITESPACE_VISIBLE

boolean

For example if WORD_CHARACTERS did not


contain the underscore character (_) then the literal
sequence TEST_HARNESS would be considered
to be two words.
Specifies whether whitespace characters (eg tab,
space) are displayed.

Lexer Specific Properties

The following sections list the Lexer Specific Propertiesfor each lexer.
Ada Lexer Properties

The Ada lexer (LEXER=ada) is used by the common code editor control to decorate code
written in the Ada language. Lexer Specific Properties for the Ada Lexer are listed in the
following table.
Property

Type

Description

KEYWORDS

string

STYLE_CHARACTER
STYLE_CHARACTEREOL

style
style

STYLE_COMMENTLINE
STYLE_DEFAULT
STYLE_DELIMITER
STYLE_IDENTIFIER
STYLE_ILLEGAL

style
style
style
style
style

STYLE_LABEL

style

STYLE_NUMBER
STYLE_STRING
STYLE_STRINGEOL

style
style
style

STYLE_WHITESPACE
STYLE_WORD

style
style

A space delimited list of Ada keywords that will be


decorated in the STYLE_WORD style.
Style definition for characters (eg 'c')
Style definition for characters that are not terminated
before the end of the current line.
Style definition for Ada comments
Style definition for ordinary text
Style definition for delimiters (eg &\()*+,-/:;<>=| )
Style definition for identifers
Style definition for illegal control labels (eg a label that
shares the same name as a keyword)
Style definition for control labels (eg
<<Clean_Exit>>)
Style definition for numbers
Style definition for strings (eg Hello World!)
Style definition for strings that are not terminated before
the end of the current line.
Style definition for whitespace characters
Style definition for keywords (eg any word that appears
in the KEYWORDS list)

Bat Lexer Properties

The Bat lexer (LEXER=bat) is used by the common code editor control to decorate the
commands of DOS-style batch files. Lexer Specific Properties for the Bat Lexer are listed
in the following table.
Property

Type

Description

COMMANDS

string

KEYWORDS

string

STYLE_COMMAND

style

STYLE_COMMENT
STYLE_DEFAULTS
STYLE_HIDE
STYLE_IDENTIFIER
STYLE_LABEL
STYLE_OPERATOR
STYLE_WHITESPACE
STYLE_WORD

style
style
style
style
style
style
style
style

A space delimited list of shell commands that will be


decorated in the STYLE_COMMAND style
A space delimited list of batch keywords that will be
decorated in the STYLE_WORD style.
Style definition for shell commands (eg any word that
appears in the COMMANDS list)
Style definition for remarks
Style definition for ordinary text
Style definition for hidden lines (eg @echo off)
Style definition for identifiers
Style definition for control labels (eg :Clean_Exit)
Style definition for operators (eg =+><|?*)
Style definition for whitespace characters
Style definition for keywords (eg any word that appears
in the KEYWORDS list)

Cpp Lexer Properties

The Cpp lexer (LEXER=cpp) is used used by the common code editor control to decorate
code written in C++ style languages (eg C++, Java, JavaScript, C#) . Lexer Specific
Properties for the Cpp Lexer are listed in the following table.
Property

Type

Description

CASE_SENSITIVE
KEYWORDS
KEYWORDS_DOC_COMMENT
KEYWORDS_EXTENDED
STYLE_CHARACTER
STYLE_COMMENT
STYLE_COMMENTDOC
STYLE_COMMENTDOCKEYWORD
STYLE_COMMENTDOCKEYWORDERROR
STYLE_COMMENTLINE
STYLE_COMMENTLINEDOC
STYLE_DEFAULT
STYLE_IDENTIFIER
STYLE_NUMBER
STYLE_OPERATOR
STYLE_PREPROCESSOR
STYLE_REGEX
STYLE_STRING
STYLE_STRINGEOL
STYLE_UUID
STYLE_VERBATIM
STYLE_WHITESPACE
STYLE_WORD
STYLE_WORD_EXTENDED
STYLING_WITHIN_PREPROCESSOR

boolean Specifies whether the lexer considers text case when


matching keywords
string A space delimited list of language keywords that will be
decorated in the STYLE_WORD style.
string A space delimited list of documentation keywords that
will be decorated in the
STYLE_COMMENTDOCKEYWORD style.
string A space delimited list of user keywords that will be
decorated in the STYLE_WORD_EXTENDED style.
style
Style definition for characters (eg 'c')
style
Style definition for stream comments (eg /* this is
a comment */)
style
Style definition for documentation sections that appear
within a stream comment
style
Style definition for documentation keywords (eg any
word that appears in the KEYWORDS_DOC_COMMENT)
list
style
Style definition for invalid documentation keywords
style
Style definition for block comments (eg // this is
a comment)
style
Style definition for documentation sections that appear
within a block comment
style
Style definition for ordinary text
style
Style definition for identifiers
style
Style definition for numbers
style
Style definition for operators (eg =+><|?*)
style
Style definition for preprocessor directives
style
Style definition for regular expressions
style
Style definition for strings (eg Hello World!)
style
Style definition for strings that are not terminated before
the end of the current line.
style
Style definition for Universally Unique Identifiers
style
Style definition for verbatim style strings (eg
@http://www.sparxsystems.com)
style
Style definition for whitespace characters
style
Style definition for keywords (eg any word that appears
in the KEYWORDS list)
style
Style definition for user keywords (eg any word that
appears in the KEYWORDS_EXTENDED list)
boolean Specifies whether the lexer should decorate code within a
preprocessor block

Diff Lexer Properties

The Diff lexer (LEXER=diff) is used by the common code editor control to decorate the
results of the GNU diff utility. Lexer Specific Properties for the Diff Lexer are listed in
the following table.
Property

Type

Description

STYLE_ADDED
STYLE_COMMAND
STYLE_COMMENT
STYLE_DEFAULT

style
style
style
style

Style definition for added sections


Style definition for command sections
Style definition for comments
Style definition for ordinary text

STYLE_DELETED
STYLE_HEADER
STYLE_POSITION
STYLE_WHITESPACE

style
style
style
style

Style definition for deleted sections


Style definition for header sections
Style definition for position markers
Style definition for whitespace characters

EACGT Lexer Properties

The EACGT lexer (LEXER=eacgt) is used by the common code editor control to decorate
Enterprise Architect's Code Generation and Transformation templates. Lexer Specific
Properties for the EACGT Lexer are listed in the following table. Please consult the Code
Template Syntax help section for more details on the different template macros and
variables.
Property

Type

Description

CONTROL_MACROS

string

FIELD_MACROS

string

FUNCTION_MACROS

string

TAGGEDVALUE_MACROS

string

TEMPLATE_MACROS

string

STYLE_CONTROL_MACRO
STYLE_DEFAULT
STYLE_DIRECTIVE

style
style
style

STYLE_FIELD_MACRO
STYLE_FUNCTION_MACRO
STYLE_IDENTIFIER
STYLE_STRING
STYLE_TAGGEDVALUE_MACRO
STYLE_TEMPLATE_MACRO
STYLE_VARIABLE

style
style
style
style
style
style
style

A space delimited list of control value macro keywords


that will be decorated in the STYLE_CONTROL_MACRO
style.
A space delimited list of field macro keywords that will
be decorated in the STYLE_FIELD_MACRO style.
A space delimited list of function value macro keywords
that will be decorated in the
STYLE_FUNCTION_MACRO style.
A space delimited list of tagged value macro keywords
that will be decorated in the
STYLE_TAGGEDVALUE_MACRO style.
A space delimited list of template macro keywords that
will be decorated in the STYLE_TEMPLATE_MACRO
style.
Style definition for control macros
Style definition for ordinary text
Style definition for template directives (eg
%list="InnerClass" @indent="\t"%)
Style definition for field macros
Style definition for function macros
Style definition for identifiers
Style definition for strings (eg Hello World!)
Style definition for tagged value macros
Style definition for template macros
Style definition for template variables (eg $ops)

HTML Lexer Properties

The HTML lexer (LEXER=html) is used used by the common code editor control to
decorate the source code of HTML documents and any embedded JavaScript, VBScript
or PHP scripts contained within. The HTML lexer can also be used to decorate DTD
files, and self contained PHP scripts.
Lexer Specific Properties for the HTML Lexer are listed in the following table.
Property

Type

Description

INDENTATION_GUIDE

string

Advises the automatic indentation routine what


indentation rules to apply based on the primary language
being displayed is.
NOTE: This value only needs to be set when displaying
self contained script files.

KEYWORDS

string

KEYWORDS_JAVASCRIPT

string

KEYWORDS_VBSCRIPT

string

KEYWORDS_PHP

string

KEYWORDS_DTD

string

STYLE_DEFAULT
STYLE_TAG
STYLE_TAGUNKNOWN

style
style
style

STYLE_ATTRIBUTE
STYLE_ATTRIBUTEUNKNOWN

style
style

STYLE_NUMBER
STYLE_DOUBLESTRING

style
style

STYLE_SINGLESTRING

style

STYLE_OTHER

style

STYLE_COMMENT

style

STYLE_ENTITY
STYLE_TAGEND
STYLE_XMLDECL

style
style
style

STYLE_SCRIPT
STYLE_ASP
STYLE_ASPAT
STYLE_CDATA
STYLE_QUESTION

style
style
style
style
style

STYLE_UNQUOTEDVALUE
STYLE_JSPCOMMENT

style
style

STYLE_SGML_1ST_PARAM
STYLE_SGML_1ST_PARAM_COMMENT
STYLE_SGML_COMMAND
STYLE_SGML_COMMENT
STYLE_SGML_DEFAULT

style

Accepted Values: php, javascript,


javascriptasp
A space delimited list of keywords that will be decorated
in the STYLE_TAG style.
A space delimited list of JavaScript keywords that will be
decorated in the STYLE_JS_KEYWORD and
STYLE_JSA_KEYWORD styles.
A space delimited list of VBScript keywords that will be
decorated in the STYLE_VB_KEYWORD style
A space delimited list of PHP keywords that will be
decorated in the STYLE_PHP_KEYWORD style
A space delimited list of DTD keywords that will be
decorated in the STYLE_TAG style
Style definition for ordinary text
Style definition for tags
Style definition for tags that do not appear in the keyword
list
Style definition for attributes
Style definition for attributes that do not appear in the
keyword list
Style definition for numbers
Style definition for double quoted strings (eg Hello
World!)
Style definition for single quoted strings (eg 'Hello
World!')
Style definition for text that appears outside of the
document's root tags
Style definition for SGML style comments (eg <!-this is a comment -->)
Style definition for entity text (eg &nbsp; &gt;)
Style definition for a self-terminating tag (eg <br/>)
Style definition for the XML declaration (eg <?xml
version=1.0?>)
Style definition for miscellaneous script sections.
Style definition for Active Server Page blocks
Style definition for Active Server Page @ blocks
Style definition for CDATA blocks
Style definition for blocks (excluding the XML
declaration) that begin with <?
Style definition for unquoted attribute values
Style definition for Java Server Pages style comments (eg
<%-- this is a comment --%>)
Style definitions for SGML DTD blocks

STYLE_SGML_DOUBLESTRING
STYLE_SGML_ENTITY
STYLE_SGML_ERROR
STYLE_SGML_SIMPLESTRING
STYLE_SGML_SPECIAL
STYLE_JS_COMMENT
STYLE_JS_COMMENTDOC
STYLE_JS_COMMENTLINE
STYLE_JS_DEFAULT
STYLE_JS_DOUBLESTRING
STYLE_JS_KEYWORD
STYLE_JS_NUMBER
STYLE_JS_OPERATOR
STYLE_JS_REGEX
STYLE_JS_SINGLESTRING
STYLE_JS_START
STYLE_JS_STRINGEOL
STYLE_JS_WORD
STYLE_JSA_COMMENT
STYLE_JSA_COMMENTDOC
STYLE_JSA_COMMENTLINE
STYLE_JSA_DEFAULT
STYLE_JSA_DOUBLESTRING
STYLE_JSA_KEYWORD
STYLE_JSA_NUMBER
STYLE_JSA_OPERATOR
STYLE_JSA_REGEX
STYLE_JSA_SINGLESTRING
STYLE_JSA_START
STYLE_JSA_STRINGEOL
STYLE_JSA_WORD
STYLE_VB_COMMENTLINE
STYLE_VB_DEFAULT
STYLE_VB_DOUBLESTRING
STYLE_VB_IDENTIFIER
STYLE_VB_KEYWORD
STYLE_VB_NUMBER
STYLE_VB_START
STYLE_VB_STRINGEOL
STYLE_PHP_DEFAULT
STYLE_PHP_COMPLEX
STYLE_PHP_DOUBLESTRING
STYLE_PHP_SINGLESTRING
STYLE_PHP_KEYWORD
STYLE_PHP_NUMBER
STYLE_PHP_VARIABLE
STYLE_PHP_COMMENT
STYLE_PHP_COMMENTLINE
STYLE_PHP_STRINGVARIABLE
STYLE_PHP_OPERATOR

style

Style definitions for JavaScript blocks

style

Style definitions for ASP JavaScript blocks

style

Style definitions for VBScript blocks

style

Style definitions for PHP blocks

MBNF Lexer Properties

The MBNF lexer (LEXER=mbnf) is used by the common code editor control to decorate
grammar files written in Modified Backus-Naur Form. Lexer Specific Properties for the

MBNF Lexer are listed in the following table.


Property

Type

Description

STYLE_COMMENT
STYLE_DEFAULT
STYLE_HIGHLIGHT
STYLE_PRAGMA
STYLE_STRING

style
style
style
style
style

Style definition for comments


Style definition for ordinary text
Style definition for highlighted sections
Style definition for pragma directives
Style definition for strings (eg Hello World!)

Pascal Lexer Properties

The Pascal lexer (LEXER=pascal) is used by the common code editor control to decorate
code written in the Pascal and Delphi languages. Lexer Specific Properties for the Pascal
Lexer are listed in the following table.
Property

Type

Description

CLASSWORDS

string

KEYWORDS

string

STYLE_CHARACTER
STYLE_COMMENT

style
style

STYLE_COMMENTDOC

style

STYLE_COMMENTLINE

style

STYLE_DEFAULT
STYLE_INLINEASM
STYLE_OPERATOR
STYLE_PREPROCESSOR
STYLE_STRING
STYLE_WHITESPACE
STYLE_WORD

style
style
style
style
style
style
style

A space delimited list of class qualifier keywords that will


be decorated in the STYLE_WORD style.
A space delimited list of language keywords that will be
decorated in the STYLE_WORD style.
Style definition for characters (eg 'c')
Style definition for stream comments (eg /* this is
a comment */)
Style definition for documentation sections that appear
within a stream comment
Style definition for block comments (eg // this is
a comment)
Style definition for ordinary text
Style definition for inline assembly blocks
Style definition for operators (eg =+><|?*)
Style definition for preprocessor directives
Style definition for strings (eg Hello World!)
Style definition for whitespace characters
Style definition for keywords (eg any word that appears
in the KEYWORDS or CLASSWORDS lists)

Props Lexer Properties

The Props lexer (LEXER=props) is used by the common code editor control to decorate
Windows style property files. Lexer Specific Properties for the Props Lexer are listed in
the following table.
Property

Type

Description

STYLE_ASSIGNMENT
STYLE_COMMENT

style
style

STYLE_DEFAULT
STYLE_DEFVAL
STYLE_KEY
STYLE_SECTION
STYLE_WHITESPACE

style
style
style
style
style

Style definition for the assignment operator


Style definition for comments (eg # this is a
comment)
Style definition for ordinary text
Style definition for default values (eg @true)
Style definition for property key names
Style definition for section headers (eg [System])
Style definition for whitespace characters

Python Lexer Properties

The Python lexer (LEXER=python) is used by the common code editor control to decorate
code written in the Python language. Lexer Specific Properties for the Python Lexer are
listed in the following table.
Property

Type

Description

KEYWORDS

string

STYLE_CHARACTER
STYLE_CLASSNAME
STYLE_COMMENT
STYLE_COMMENTLINE

style
style
style
style

STYLE_DECORATOR
STYLE_DEFAULT
STYLE_DEFNAME
STYLE_NUMBER
STYLE_OPERATOR
STYLE_STRING
STYLE_STRINGEOL

style
style
style
style
style
style
style

STYLE_TRIPLEDOUBLESTRING

style

STYLE_TRIPLESINGLESTRING

style

STYLE_WHITESPACE
STYLE_WORD

style
style

A space delimited list of Python keywords that will be


decorated in the STYLE_WORD style.
Style definition for characters (eg 'c')
Style definition for class names
Style definition for block comments
Style definition for line comments (eg # this is a
comment)
Style definition for decorators (eg @classmethod)
Style definition for ordinary text
Style definition for def statements
Style definition for numbers
Style definition for operators (eg =+><|?*)
Style definition for strings (eg Hello World!)
Style definition for strings that are not terminated before
the end of the current line.
Style definition for triple quoted strings with double
quotation marks (eg Hello World!)
Style definition for triple quoted strings with single
quotation marks (eg '''Hello World!''')
Style definition for whitespace characters
Style definition for keywords (eg any word that appears
in the KEYWORDS list)

SQL Lexer Properties

The SQL lexer (LEXER=sql) is used by the common code editor control to decorate
queries written in the Structured Query Language. Lexer Specific Properties for the SQL
Lexer are listed in the following table.
Property

Type

Description

KEYWORDS

string

STYLE_CHARACTER
STYLE_COMMENT

style
style

STYLE_COMMENTDOC
STYLE_COMMENTDOC_KEYWORD
STYLE_COMMENTDOC_KEYWORD_ERROR
STYLE_COMMENTLINE

style

A space delimited list of SQL keywords that will be


decorated in the STYLE_WORD style.
Style definition for characters (eg 'c')
Style definition for C-style stream comments (eg /*
this is a comment */)
Style definitions for Doxygen style comment blocks (eg
/** This is a documentation comment */)

STYLE_COMMENTLINEDOC

style

style

Style definition for line comments (eg -- this is a


comment)
Style definition for SQL documentation comments (eg #
this is a documentation comment)

STYLE_DEFAULT
STYLE_IDENTIFIER
STYLE_OPERATOR
STYLE_STRING
STYLE_STRINGEOL

style
style
style
style
style

STYLE_WHITESPACE
STYLE_WORD

style
style

TABLES

string

Style definition for ordinary text


Style definition for identifiers
Style definition for operators (eg =+><|?*)
Style definition for strings (eg Hello World!)
Style definition for strings that are not terminated before
the end of the current line.
Style definition for whitespace characters
Style definition for keywords (eg any word that appears
in the KEYWORDS list)
A space delimited list of user defined table names that
will be decorated in the STYLE_TABLE style.

VB Lexer Properties

The VB lexer (LEXER=vb) is used by the common code editor control to decorate code
written in the Visual Basic and VB.NET languages. Lexer Specific Properties for the VB
Lexer are listed in the following table.
Property

Type

Description

KEYWORDS

string

KEYWORDS_CONSTANT

string

KEYWORDS_EXTENDED

string

STYLE_COMMENT

style

STYLE_DATE
STYLE_DEFAULT
STYLE_IDENTIFIER
STYLE_NUMBER
STYLE_OPERATOR
STYLE_PREPROCESSOR
STYLE_STRING
STYLE_STRINGEOL

style
style
style
style
style
style
style
style

STYLE_WORD

style

STYLE_WORD_CONSTANT

style

STYLE_WORD_EXTENDED

style

A space delimited list of language keywords that will be


decorated in the STYLE_WORD style.
A space delimited list of constant keywords that will be
decorated in the STYLE_WORD_CONSTANT style.
A space delimited list of extended language keywords
that will be decorated in the STYLE_WORD_EXTENDED
style.
Style definition for VB comments (eg 'this is a
comment)
Style definition for dates
Style definition for ordinary text
Style definition for identifiers
Style definition for numbers
Style definition for operators (eg =+><|?*)
Style definition for preprocessor directives
Style definition for strings (eg Hello World!)
Style definition for strings that are not terminated before
the end of the current line.
Style definition for keywords (eg any word that appears
in the KEYWORDS list)
Style definition for constant keywords (eg any word that
appears in the KEYWORDS_CONSTANT list)
Style definition for extended keywords (eg any word that
appears in the KEYWORDS_EXTENDED list)

VBScript Lexer Properties

The VBScript lexer (LEXER=vbscript) is used by the common code editor control to
decorate scripts written in the VBScript language.
The VBScript lexer shares the same Lexer Specific Properties as the VB lexer.

Verilog Lexer Properties

The Verilog lexer (LEXER=verilog) is used by the common code editor control to
decorate code written in the Verilog language. Lexer Specific Properties for the Verilog
Lexer are listed in the following table.
Property

Type

Description

KEYWORDS

string

KEYWORDS_EXTENDED

string

STYLE_COMMENT

style

STYLE_COMMENTLINE

style

STYLE_COMMENTLINEBANG

style

STYLE_DEFAULT
STYLE_IDENTIFIER
STYLE_NUMBER
STYLE_OPERATOR
STYLE_PREPROCESSOR
STYLE_STRING
STYLE_STRINGEOL

style
style
style
style
style
style
style

STYLE_TASK

style

STYLE_TASK_EXTENDED

style

STYLE_WHITESPACE
STYLE_WORD

style
style

STYLE_WORD_EXTENDED

style

TASKS

string

TASKS_EXTENDED

string

A space delimited list of language keywords that will be


decorated in the STYLE_WORD style.
A space delimited list of extended language keywords
that will be decorated in the STYLE_WORD_EXTENDED
style.
Style definition for comments (eg /* this is a
comment */)
Style definition for line comments (eg // this is a
comment)
Style definition for bang line comments (eg //! this
is a comment)
Style definition for ordinary text
Style definition for identifiers
Style definition for numbers
Style definition for operators (eg =+><|?*)
Style definition for preprocessor directives
Style definition for strings (eg Hello World!)
Style definition for strings that are not terminated before
the end of the current line.
Style definition for task keywords (eg any word that
appears in the TASKS list)
Style definition for extendedtask keywords (eg any word
that appears in the TASKS_EXTENDED list)
Style definition for whitespace characters
Style definition for keywords (eg any word that appears
in the KEYWORDS list)
Style definition for extended keywords (eg any word that
appears in the KEYWORDS_EXTENDED list)
A space delimited list of task keywords that will be
decorated in the STYLE_TASK style.
A space delimited list of extended task keywords that will
be decorated in the STYLE_TASK_EXTENDED style.

VHDL Lexer Properties

The VHDL lexer (LEXER=vhdl) is used by the common code editor control to decorate
code written in the VHSIC Hardware Description Language. Lexer Specific Properties
for the VHDL Lexer are listed in the following table.
Property

Type

Description

KEYWORDS

string

A space delimited list of language keywords that will be

STANDARD_OPERATORS

string

STANDARD_ATTRIBUTES

string

STANDARD_FUNCTIONS

string

STANDARD_PACKAGES

string

STANDARD_TYPES

string

KEYWORDS_EXTENDED

string

STYLE_DEFAULT
STYLE_WHITESPACE
STYLE_COMMENT

style
style
style

STYLE_COMMENTLINEBANG

style

STYLE_NUMBER
STYLE_STRING
STYLE_OPERATOR
STYLE_IDENTIFIER
STYLE_STRINGEOL

style
style
style
style
style

STYLE_WORD

style

STYLE_WORD_OPERATOR

style

STYLE_WORD_ATTRIBUTE

style

STYLE_WORD_FUNCTION

style

STYLE_WORD_PACKAGE

style

STYLE_WORD_TYPE

style

KEYWORDS_EXTENDED

string

decorated in the STYLE_WORD style.


A space delimited list of language operators that will be
decorated in the STYLE_WORD_OPERATOR style.
A space delimited list of language attributes that will be
decorated in the STYLE_WORD_ATTRIBUTE style.
A space delimited list of language functions that will be
decorated in the STYLE_WORD_FUNCTION style.
A space delimited list of language packages that will be
decorated in the STYLE_WORD_PACKAGE style.
A space delimited list of language types that will be
decorated in the STYLE_WORD_TYPE style.
A space delimited list of extended language keywords
that will be decorated in the STYLE_WORD_EXTENDED
style.
Style definition for ordinary text
Style definition for whitespace characters
Style definition for comments (eg -- this is a
comment */)
Style definition for bang line comments (eg --! this
is a comment)
Style definition for numbers
Style definition for strings (eg Hello World!)
Style definition for operators (eg =+><|?*)
Style definition for identifiers
Style definition for strings that are not terminated before
the end of the current line.
Style definition for keywords (eg any word that appears
in the KEYWORDS list)
Style definition for language operators (eg any word that
appears in the STANDARD_OPERATORS list)
Style definition for language attributes (eg any word that
appears in the STANDARD_ATTRIBUTES list)
Style definition for language functions (eg any word that
appears in the STANDARD_FUNCTIONS list)
Style definition for language packages (eg any word that
appears in the STANDARD_PACKAGES list)
Style definition for language types (eg any word that
appears in the STANDARD_TYPES list)
A space delimited list of extended language keywords
that will be decorated in the STYLE_WORD_EXTENDED
style.

XML Lexer Properties

The XML lexer (LEXER=xml) is used by the common code editor control to decorate
XML documents.
The XML lexer shares the same Lexer Specific Properties as the HTML lexer.

Das könnte Ihnen auch gefallen