gecko-dev/editor/spellchecker
Makoto Kato e6c2e7bc87 Bug 1543585 - Clean up finding words for spellchecker. r=masayuki
`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
2019-04-12 03:54:18 +00:00
..
tests Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8 2019-01-30 17:26:25 +00:00
EditorSpellCheck.cpp Bug 1543585 - Clean up finding words for spellchecker. r=masayuki 2019-04-12 03:54:18 +00:00
EditorSpellCheck.h Bug 1502661 - Part 2. Add async method to check word by spellchecker. r=masayuki 2018-12-18 20:23:44 +09:00
FilteredContentIterator.cpp Bug 181137 - part 8: Make ContentIteratorBase and its subclasses non-refcountable r=smaug 2019-01-11 01:52:26 +00:00
FilteredContentIterator.h Bug 181137 - part 8: Make ContentIteratorBase and its subclasses non-refcountable r=smaug 2019-01-11 01:52:26 +00:00
TextServicesDocument.cpp Bug 1543585 - Clean up finding words for spellchecker. r=masayuki 2019-04-12 03:54:18 +00:00
TextServicesDocument.h Bug 1543585 - Clean up finding words for spellchecker. r=masayuki 2019-04-12 03:54:18 +00:00
moz.build Bug 181137 - part 6: Make nsFilteredContentIterator not derived from nsIContentIterator r=smaug 2019-01-11 01:51:35 +00:00
nsComposeTxtSrvFilter.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsComposeTxtSrvFilter.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsIInlineSpellChecker.idl Bug 1533293 - part 2: Rewrite EditorBase::SelectEntireDocument() and its overrides r=m_kato 2019-03-26 10:06:43 +00:00