mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:38:11 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
1665 changed files with 8479 additions and 8479 deletions
|
@ -11,7 +11,7 @@
|
|||
|
||||
namespace GUI::GML {
|
||||
|
||||
static Syntax::TextStyle style_for_token_type(const Gfx::Palette& palette, Token::Type type)
|
||||
static Syntax::TextStyle style_for_token_type(Gfx::Palette const& palette, Token::Type type)
|
||||
{
|
||||
switch (type) {
|
||||
case Token::Type::LeftCurly:
|
||||
|
@ -38,7 +38,7 @@ bool SyntaxHighlighter::is_identifier(u64 token) const
|
|||
return ini_token == Token::Type::Identifier;
|
||||
}
|
||||
|
||||
void SyntaxHighlighter::rehighlight(const Palette& palette)
|
||||
void SyntaxHighlighter::rehighlight(Palette const& palette)
|
||||
{
|
||||
auto text = m_client->get_text();
|
||||
Lexer lexer(text);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue