Skip to content

Commit

Permalink
Merge pull request #241 from Predelnik/rechecking-fix
Browse files Browse the repository at this point in the history
Restore rechecking during typing logic (#240)
  • Loading branch information
Predelnik committed Nov 5, 2020
2 parents e4fc010 + 13a5dcc commit 0a2284e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Plugin.cpp
Expand Up @@ -770,7 +770,7 @@ extern "C" __declspec(dllexport) void beNotified(SCNotification *notify_code) {
case SCN_MODIFIED:
if (!spell_checker)
return;
if (edit_recheck_timer && (notify_code->modificationType & (SC_MOD_DELETETEXT | SC_MOD_INSERTTEXT)) != 0 && !is_any_timer_active()) {
if (edit_recheck_timer && (notify_code->modificationType & (SC_MOD_DELETETEXT | SC_MOD_INSERTTEXT)) != 0) {
edit_recheck_timer->set_resolution(std::chrono::milliseconds (get_settings().data.recheck_delay));
}
break;
Expand Down

0 comments on commit 0a2284e

Please sign in to comment.