1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:57:43 +00:00

LibSyntax+TextEditor: Move Highlighter::language_string() out of class

This commit is contained in:
Karol Kosek 2022-12-19 19:13:18 +01:00 committed by Tim Flynn
parent 3c2227ceed
commit b00865bce5
3 changed files with 4 additions and 3 deletions

View file

@ -138,7 +138,7 @@ void Highlighter::register_nested_token_pairs(Vector<MatchingTokenPair> pairs)
m_nested_token_pairs.set(pair);
}
StringView Highlighter::language_string(Language language) const
StringView language_to_string(Language language)
{
switch (language) {
case Language::Cpp: