basscene.blogg.se

Notepad ++ spell check not working
Notepad ++ spell check not working










I think because is too old, well, I really need to use spell checking in my application. I tried to compile wxSpellChecker, but I got erros. I tried using another thread with a while(true) to call DoSpelling, but, sometimes, when I close the frame, the another thread still trying to spell the StyledTextCtrl, and the program crash. When the user delete a char, the OnStyleNeeded is called again and (elapsed > 500) returns true. This works, but, i'm clearing the old style, so, the OnStyleNeeded is not called any more when the users stops to type.

notepad ++ spell check not working

M_stc->IndicatorFillRange(start + first, last != npos ? last - first : s.size() - first) Std::string word = s.substr(first, last != npos ? last - first : s.size() - first) Size_t last = s.find_first_not_of(letters, first) M_stc->IndicatorClearRange(start, end - start) įor (size_t first = s.find_first_of(letters, 0) first != npos first = s.find_first_of(letters, first)) Code: Select all std::string s = stc->GetTextRange(start, end).ToStdString()












Notepad ++ spell check not working