| 442 | } |
| 443 | |
| 444 | void SpellChecker::recheck_visible() { |
| 445 | if (!m_speller_container.active_speller().is_working()) { |
| 446 | clear_all_underlines(); |
| 447 | return; |
| 448 | } |
| 449 | |
| 450 | if (!SpellCheckerHelpers::is_spell_checking_needed_for_file(m_editor, m_settings)) |
| 451 | return clear_all_underlines(); |
| 452 | |
| 453 | check_visible(); |
| 454 | } |
| 455 | |
| 456 | std::wstring SpellChecker::get_all_misspellings_as_string() const { |
| 457 | ACTIVE_VIEW_BLOCK(m_editor); |
no test coverage detected