MCPcopy Create free account
hub / github.com/MrNeRF/LichtFeld-Studio / RegisterSyntaxFactory

Method RegisterSyntaxFactory

external/zep/src/editor.cpp:738–742  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

736 }
737
738 void ZepEditor::RegisterSyntaxFactory(const std::vector<std::string>& mappings, SyntaxProvider provider) {
739 for (auto& m : mappings) {
740 m_mapSyntax[string_tolower(m)] = provider;
741 }
742 }
743
744 // Inform clients of an event in the buffer
745 bool ZepEditor::Broadcast(std::shared_ptr<ZepMessage> message) {

Callers 1

RegisterSyntaxProvidersFunction · 0.80

Calls 1

string_tolowerFunction · 0.85

Tested by

no test coverage detected