From c43f22a175fbe7d0fc4f2f1533c8f105da49c700 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20C=C3=A9bron?= Date: Wed, 12 Jan 2022 16:59:17 +0100 Subject: [PATCH] syntax_highlighting_and_error_highlighting.md: minor --- .../syntax_highlighting_and_error_highlighting.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/topics/reference_guide/custom_language_support/syntax_highlighting_and_error_highlighting.md b/topics/reference_guide/custom_language_support/syntax_highlighting_and_error_highlighting.md index 9bcacf790..4d917c143 100644 --- a/topics/reference_guide/custom_language_support/syntax_highlighting_and_error_highlighting.md +++ b/topics/reference_guide/custom_language_support/syntax_highlighting_and_error_highlighting.md @@ -18,7 +18,8 @@ Existing highlighting can be suppressed programmatically in certain contexts, se The mapping of the `TextAttributesKey` to specific attributes used in an editor is defined by the [`EditorColorsScheme`](upsource:///platform/editor-ui-api/src/com/intellij/openapi/editor/colors/EditorColorsScheme.java) class. It can be configured by the user by providing an implementation of [`ColorSettingPage`](upsource:///platform/platform-api/src/com/intellij/openapi/options/colors/ColorSettingsPage.java) registered in `com.intellij.colorSettingsPage` extension point. -The _Export to HTML_ feature uses the same syntax highlighting mechanism as the editor, so it will work automatically for custom languages, which provide a syntax highlighter. +The File | Export | Files or Selection to HTML feature uses the same syntax highlighting mechanism as the editor. +Thus, it will work automatically for custom languages that provide a syntax highlighter. **Examples**: - [`ColorSettingsPage`](upsource:///plugins/properties/src/com/intellij/lang/properties/PropertiesColorsPage.java) for [Properties language plugin](upsource:///plugins/properties) @@ -28,7 +29,7 @@ The _Export to HTML_ feature uses the same syntax highlighting mechanism as the > {type="note"} -The syntax and error highlighting are performed on multiple levels: Lexer, Parser, and (External) Annotator. +The syntax and error highlighting are performed on multiple levels: Lexer, Parser, and (External) Annotator(s). ## Lexer