mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
LibSyntax: Make rehighlight() take Gfx::Palette as by const-reference
This commit is contained in:
@@ -498,7 +498,7 @@ bool SyntaxHighlighter::is_navigatable(void* token) const
|
||||
return (size_t)kind == (size_t)AST::Node::Kind::BarewordLiteral;
|
||||
}
|
||||
|
||||
void SyntaxHighlighter::rehighlight(Gfx::Palette palette)
|
||||
void SyntaxHighlighter::rehighlight(const Palette& palette)
|
||||
{
|
||||
auto text = m_client->get_text();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user