mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-25 09:04:53 +00:00
When we open a file whose name ends in ".cpp", we now pass the contents through CppLexer, which produces a CppToken stream. Those CppTokens are then converted into GTextEditor::Spans and handed over to GTextEditor which then colorizes the source code accordingly. This is pretty neat. :^)
8.1 KiB
8.1 KiB