Configuring General Styles

The following section describes the color settings related to the General file type setting. These settings are available from the File Types tab of the Settings dialog by selecting the "General" category shown in the dialog below.

 

       

 

The following table describes the list of lexer settings that may be configured for the General language type.

 

Lexer Setting

Description

Mismatched Brace

The Mismatched Brace category occurs when an opening brace has no closing brace or vice versa. This will only be displayed if the cursor currently located adjacent to the brace. Brace matching occurs on the following sets of braces:

 

( and)

{ and }

[ and ]

 

The following example demonstrates this category:

 

    

 

In this case the opening{ in the for loop has no closing brace so it is categorized as "Mismatched Brace" and highlighted in the color and font specified by the user (red in this case).

 

Brace Highlighting

The Brace Highlighting category occurs when the cursor is adjacent to an opening brace that is matched by a closing brace or vice versa. Brace matching occurs on the following set of braces:

 

( and)

{ and }

[ and ]

 

The following example demonstrates this category:

 

    

 

In this case the opening{ of the for loop and its closing } brace match and are categorized as "Brace Highlighting" and highlighted in the color and font specified by the user (pink in this case).

 

Control Characters

The Control Characters category applies to any control characters that are displayed.

 

The following example demonstrates this category:

 

    

 

In this case, any spaces, tabs or control characters are categorized as "Control Characters" and highlighted in the font and color specified by the user.

 

Default

The Default category really only applies to virtual space that is not occupied by characters or whitespace. In this case both the foreground color and the font settings have no purpose, only the background color is used. It is provided to allow the user to maintain a consistent color across all styles when changing the background color.

 

The following example demonstrates this category:

 

    

 

In this case all virtual space that is not occupied by characters or whitespace is categorized as the "Default" category and highlighted in the color and font specified by the user (grey in this case).

 

Indent Guides

The Indent Guides category applies to the indent guides if they are displayed. Note that the font settings and background color do not apply.

 

The following example demonstrates the this category:

 

    

 

In this case the indent guides are displayed and highlighted in the color and font specified by the user (red in this case).

 

Line Numbers

The Line Numbers category applies to the line numbers displayed in the left hand column.

 

The following example demonstrates this category:

 

    

 

In this case the line numbers are highlighted in the color and font specified by the user (purple on a grey background in this case).