Highlighting scheme editor - Identifiers

Identifiers are text fragments that only contain characters from the ranges defined as 'First symbol' and 'Other symbols'. These settings also affect the coloring of keywords.

Enable identifiers coloring
Click to enable coloring of identifiers. Enabling/disabling this option does not affect the coloring of keywords.

The style list allows you to select or create a coloring style to be used for coloring identifiers.

First symbol
Click if you want to define a range for a character that must occur first in the identifier. For example, a character range including all upper and lower case letters is defined as 'A-Za-z' etc.

Other symbols
Click if you wish to define a range of symbols that may appear further down in the identifier. See'First symbol' for how to define ranges.

NOTE!
The first symbol defined here and other symbols also affect the coloring of keywords! If a keyword contains a character not defined here, it will not be colored correctly! It is case-sensitive (regardless of the setting of the 'Case-sensitive' option on the'Block' tab). For example - if the range 'First symbol' contains 'A-Z' and the keyword starts with a lowercase letter, it will not be colored correctly.

Special

Select where special characters, i.e. those not defined as 'First symbol' and 'Other symbols', can appear in the identifier. This makes it possible, for example, to color the '$' (dollar) character in PHP language variable names when, at the same time, it cannot appear in keywords.
  • with prefixes - allows you to create and edit a list of special characters immediately before the identifier (without spaces). If you select 'with prefixes' (switch under the list), the defined prefixes will be colored.

  • with suffixes - allows you to create and edit a list of special characters immediately following the identifier (without spaces). If you select'with suffixes' (switch under the list), the defined suffixes will be colored.

  • both - allows you to create and edit a list of special character pairs occurring immediately before and after the identifier (without spaces). If you select'with suffixes and prefixes' (switch under the list), the prefixes and suffixes defined will be colored.

Related topics

To top