mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-30 22:28:22 +00:00
LibSyntax: Make rehighlight() take Gfx::Palette as by const-reference
This commit is contained in:
parent
cf1c159ed5
commit
a50ba0a491
Notes:
sideshowbarker
2024-07-18 22:25:03 +09:00
Author: https://github.com/awesomekling
Commit: a50ba0a491
13 changed files with 13 additions and 13 deletions
|
@ -58,7 +58,7 @@ bool IniSyntaxHighlighter::is_identifier(void* token) const
|
|||
return ini_token == GUI::IniToken::Type::Name;
|
||||
}
|
||||
|
||||
void IniSyntaxHighlighter::rehighlight(Gfx::Palette palette)
|
||||
void IniSyntaxHighlighter::rehighlight(const Palette& palette)
|
||||
{
|
||||
auto text = m_client->get_text();
|
||||
IniLexer lexer(text);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue