Release KSwitcher v0.6.75 with clearer diagnostics and custom replacements

This commit is contained in:
agrynco committed 2026-11-13 13:01:07 +02:00
1 parent 1407b4d260
commit 384a93dfea
18 files changed
+154 -69

No files matched your search

+5
View File
@@ -35,6 +35,11 @@ bool validAutoCorrection(const std::wstring &text, const std::wstring &alphabet)
}
return true;
}
bool validAutoReplacementSource(const std::wstring &text, const std::wstring &alphabet)
{
return text.find(L' ') == text.npos && text.find_first_of(alphabet) != text.npos &&
validAutoCorrection(text, alphabet + L"0123456789");
}
int HotkeyHook::update(UINT key, bool down, UINT modifiers,
const std::vector<std::pair<int, Hotkey>> &bindings)
{