mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:57:45 +00:00
LibSyntax: Move GUI::Highlighter to Syntax::Highlighter in LibSyntax
This is a move towards dropping more LibGUI dependencies.
This commit is contained in:
parent
ff2438e0ce
commit
43c7d7d285
22 changed files with 99 additions and 61 deletions
|
@ -33,7 +33,7 @@
|
|||
|
||||
namespace Cpp {
|
||||
|
||||
static GUI::TextStyle style_for_token_type(const Gfx::Palette& palette, Cpp::Token::Type type)
|
||||
static Syntax::TextStyle style_for_token_type(const Gfx::Palette& palette, Cpp::Token::Type type)
|
||||
{
|
||||
switch (type) {
|
||||
case Cpp::Token::Type::Keyword:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue