Syntax Highlighting
Prev | Chapter 1. User-Visible Changes | Next

## Syntax Highlighting

Many new syntax highlighting modes were added, and many existing ones were enhanced. jEdit now supports syntax highlighting for 133 languages.

The following new token types were added:

- COMMENT3

- COMMENT4

- LITERAL3

- LITERAL4

- KEYWORD4

Any capture groups defined in the `SPAN_REGEXP` element's `BEGIN` child are now substituted into the `END` child for matching purposes. This allows here-docs in languages such as Perl to be highlighted correctly.

A new `NO_ESCAPE` attribute has been added to the `SPAN` and `SPAN_REGEXP` elements.

A new `IMPORT` rule causes the current ruleset to inherit the rules from the given ruleset.

A background color defined for a ruleset's default token type now takes effect on tokens that appear inside this ruleset for which no explicit background color is defined.

Prev | Up | Next
Rectangular Editing | Home | Search and Replace