mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-01 14:18:15 +00:00
LibSyntax: Make rehighlight() take Gfx::Palette as by const-reference
This commit is contained in:
@@ -59,7 +59,7 @@ bool GMLSyntaxHighlighter::is_identifier(void* token) const
|
||||
return ini_token == GUI::GMLToken::Type::Identifier;
|
||||
}
|
||||
|
||||
void GMLSyntaxHighlighter::rehighlight(Gfx::Palette palette)
|
||||
void GMLSyntaxHighlighter::rehighlight(const Palette& palette)
|
||||
{
|
||||
auto text = m_client->get_text();
|
||||
GMLLexer lexer(text);
|
||||
|
||||
Reference in New Issue
Block a user