ladybird/Userland/Libraries/LibSyntax
Itamar ab0b4f46f7 LibGUI: Support multiple layers of TextDocument spans
TextDocument::set_spans() now also takes a "span collection index"
argument.

TextDocument keeps a map between a span collection index and its spans.
It merges the spans from all collections into a single set of spans
whenever set_spans() is called.

This allows us to style a document with multiple layers of spans, where
as previously we only supported a single layer of spans that was set
from the SyntaxHighlighter.
2022-03-29 17:45:36 +02:00
..
CMakeLists.txt LibSyntax: Move GUI::Highlighter to Syntax::Highlighter in LibSyntax 2021-02-07 15:15:10 +01:00
Forward.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Highlighter.cpp Libraries: Use default constructors/destructors in LibSyntax 2022-03-13 22:34:38 +01:00
Highlighter.h Libraries: Use default constructors/destructors in LibSyntax 2022-03-13 22:34:38 +01:00
HighlighterClient.h LibGUI: Support multiple layers of TextDocument spans 2022-03-29 17:45:36 +02:00