Skip to content

Commit

Permalink
Restore rechecking during typing logic (#240)
Browse files Browse the repository at this point in the history
  • Loading branch information
Predelnik committed Nov 4, 2020
1 parent e4fc010 commit 13a5dcc
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 13a5dcc

Please sign in to comment.