| 98 | } |
| 99 | |
| 100 | SpellerContainer::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 | |
| 107 | SpellerContainer::SpellerContainer(const Settings *settings, std::unique_ptr<SpellerInterface> speller) |
| 108 | : m_settings(*settings), m_spellers({}) { |
nothing calls this directly
no test coverage detected