mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:48:11 +00:00
LibSyntax: Make rehighlight() take Gfx::Palette as by const-reference
This commit is contained in:
parent
cf1c159ed5
commit
a50ba0a491
13 changed files with 13 additions and 13 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue