mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
e6c2e7bc87
`mozSpellChecker::Replace` and `mozSpellChecker::NextMisspelledWord` have a loop to find word from text content. But `mozEnglishWordUtils::FindNextWord` always returns `NS_OK` and some code doesn't check error even if `nsresult` local variable is used. So I would like to clean up this loop. - `mozEnglishWordUtils::FindNextWord` should return true if word is found - We should use reference type for some `TextServicesDocument`'s methods. - Add more check for error Differential Revision: https://phabricator.services.mozilla.com/D27037 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
tests | ||
EditorSpellCheck.cpp | ||
EditorSpellCheck.h | ||
FilteredContentIterator.cpp | ||
FilteredContentIterator.h | ||
moz.build | ||
nsComposeTxtSrvFilter.cpp | ||
nsComposeTxtSrvFilter.h | ||
nsIInlineSpellChecker.idl | ||
TextServicesDocument.cpp | ||
TextServicesDocument.h |