syntax_highlighting_and_error_highlighting.md: note about DaemonCodeAnalyzer.restart()

This commit is contained in:
Yann Cébron 2020-08-18 16:12:01 +02:00
parent d1f8c12177
commit 16afd34ba4

View File

@ -16,6 +16,9 @@ Highlighting from multiple `TextAttributesKey` items can be layered - for exampl
New functionality about Language Defaults and support for additional color schemes as detailed in
[Color Scheme Management](/reference_guide/color_scheme_management.md).
> **TIP** To force re-highlighting, use
> [`DaemonCodeAnalyzer.restart()`](upsource:///platform/analysis-api/src/com/intellij/codeInsight/daemon/DaemonCodeAnalyzer.java).
The syntax and error highlighting is performed on multiple levels: Lexer, Parser and (External) Annotator.