mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-10 09:02:44 +02:00
This works for C++ syntax highlighted text documents by caching the C++
token type in a new "arbitrary data" member of GTextDocumentSpan.
When the cursor is placed immediately before a '{' or immediately after
a '}', we highlight both of these brace buddies by changing their
corresponding spans to have a different background color.
..and spans can also now have a custom background color. :^)
59 KiB
59 KiB