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

Method reset_spellers

src/spellers/HunspellInterface.cpp:353–356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

351}
352
353void HunspellInterface::reset_spellers() {
354 // these triggers reload of all hunspells and user dictionaries
355 m_all_hunspells.clear();
356}
357
358// drop cache if dictionary was removed
359void HunspellInterface::dictionary_removed(const std::wstring &path) { m_all_hunspells.erase(path); }

Callers 1

Calls 1

clearMethod · 0.80

Tested by

no test coverage detected