summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/CppSyntaxHighlighter.h
AgeCommit message (Collapse)Author
2020-09-25Meta+LibC through LibHTTP: Make clang-format-10 cleanBen Wiederhake
Why break at LibHTTP? Because "Meta+Libraries" would be insanely large, and breaking between LibHTTP and LibJS makes the commits roughly evenly large.
2020-03-16LibGUI: Use themes for syntax highlightingOriko
2020-03-13LibGUI: Add missing copyright headersOriko
2020-03-13LibGUI: Abstract token pair matchingOriko
2020-03-12HackStudio: Abstract over syntax highlighterOriko
2020-03-12LibGUI: Add underlines to highlightingOriko
2020-02-07LibGUI+HackStudio: Move syntax highlighting from HackStudio to LibGUIAndreas Kling
This patch introduces the GUI::SyntaxHighlighter class, which can be attached to a GUI::TextEditor to provide syntax highlighting. The C++ syntax highlighting from HackStudio becomes a new class called GUI::CppSyntaxHighlighter. This will make it possible to get C++ syntax highlighting in any app that uses a GUI::TextEditor. :^) Sidenote: It does feel a bit weird having a C++ lexer in a GUI toolkit library, and we'll probably end up moving this out to a separate place as this functionality grows larger.