| 255 | } |
| 256 | |
| 257 | bool SpellChecker::is_spellchecking_needed(std::wstring_view word, TextPosition word_start) const { |
| 258 | if (!m_speller_container.active_speller().is_working()) |
| 259 | return false; |
| 260 | |
| 261 | return SpellCheckerHelpers::is_word_spell_checking_needed(m_settings, m_editor, word, word_start); |
| 262 | } |
| 263 | |
| 264 | bool SpellChecker::is_word_under_cursor_correct(TextPosition &pos, TextPosition &length, bool use_text_cursor) const { |
| 265 | TextPosition init_char_pos, selection_start = 0, selection_end = 0; |
nothing calls this directly
no test coverage detected