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:
parent
3c2227ceed
commit
b00865bce5
3 changed files with 4 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue