feat: load local directories for spellchecking (#6730)

Reviewed-by: pajlada <rasmus.karlsson+github@pajlada.com>
This commit is contained in:
Nerixyz
2026-01-10 13:00:44 +01:00
committed by GitHub
parent 4a56970101
commit b9e2035518
6 changed files with 82 additions and 86 deletions
@@ -207,18 +207,6 @@ QString debugTest(const CommandContext &ctx)
getApp()->getUpdates().checkForUpdates();
ctx.channel->addSystemMessage(QString("checking for updates"));
}
else if (command == "spellcheck-get-system-dictionaries")
{
#ifdef CHATTERINO_WITH_SPELLCHECK
auto dicts = getApp()->getSpellChecker()->getSystemDictionaries();
for (const auto &dict : dicts)
{
ctx.channel->addSystemMessage(QString("system dictionary: %1 at %2")
.arg(dict.name)
.arg(dict.path));
}
#endif
}
else if (command == "save-settings")
{
ctx.channel->addSystemMessage(u"requesting settings save"_s);