mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 10:19:03 +03:00
ab0b4f46f7
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. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Forward.h | ||
Highlighter.cpp | ||
Highlighter.h | ||
HighlighterClient.h |