ladybird/Libraries/LibSyntax/Highlighter.cpp
Timothy Flynn 87cdeda93c LibSyntax+LibJS+LibWeb+LibWebView: Remove unused syntax highlighter code
A future patch will port LibSyntax away from UTF-32. The less code that
needs to be ported, the easier that will be.
2026-06-06 18:42:18 +02:00

22 lines
325 B
C++

/*
* Copyright (c) 2020-2022, the SerenityOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibSyntax/Highlighter.h>
namespace Syntax {
void Highlighter::attach(HighlighterClient& client)
{
VERIFY(!m_client);
m_client = &client;
}
void Highlighter::detach()
{
m_client = nullptr;
}
}