MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / SpellerContainer

Method SpellerContainer

src/spellers/SpellerContainer.cpp:100–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100SpellerContainer::SpellerContainer(const Settings *settings, const NppData *npp_data)
101 : m_settings(*settings) {
102 init_spellers(*npp_data);
103 m_native_speller->init(); // just to allow checking if it's available or not
104 m_settings.settings_changed.connect([this] { on_settings_changed(); });
105}
106
107SpellerContainer::SpellerContainer(const Settings *settings, std::unique_ptr<SpellerInterface> speller)
108 : m_settings(*settings), m_spellers({}) {

Callers

nothing calls this directly

Calls 3

on_settings_changedFunction · 0.85
connectMethod · 0.80
initMethod · 0.45

Tested by

no test coverage detected