diff --git a/src/source_spellcheck.cc b/src/source_spellcheck.cc index 16f0e24..aaf9a72 100644 --- a/src/source_spellcheck.cc +++ b/src/source_spellcheck.cc @@ -494,6 +494,8 @@ bool Source::SpellCheckView::is_word_iter(const Gtk::TextIter &iter) { ++backslash_count; if(backslash_count % 2 == 1) return false; + if(*iter >= 0x2030) // Symbols and emojis + return false; if(((*iter >= 'A' && *iter <= 'Z') || (*iter >= 'a' && *iter <= 'z') || *iter >= 128)) return true; if(*iter == '\'')