|
|
|
@ -494,6 +494,8 @@ bool Source::SpellCheckView::is_word_iter(const Gtk::TextIter &iter) { |
|
|
|
++backslash_count; |
|
|
|
++backslash_count; |
|
|
|
if(backslash_count % 2 == 1) |
|
|
|
if(backslash_count % 2 == 1) |
|
|
|
return false; |
|
|
|
return false; |
|
|
|
|
|
|
|
if(*iter >= 0x2030) // Symbols and emojis
|
|
|
|
|
|
|
|
return false; |
|
|
|
if(((*iter >= 'A' && *iter <= 'Z') || (*iter >= 'a' && *iter <= 'z') || *iter >= 128)) |
|
|
|
if(((*iter >= 'A' && *iter <= 'Z') || (*iter >= 'a' && *iter <= 'z') || *iter >= 128)) |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
if(*iter == '\'') |
|
|
|
if(*iter == '\'') |
|
|
|
|