зеркало из https://github.com/mozilla/gecko-dev.git
a6944a1428
When getting suggestions from spellchecker's result, we use sync IPC (`PRemoteSpellcheckEngine.CheckAndSuggest`). This is used by showing context menu only on Gecko. So I think that we can remove this IPC if we add async API to get spellchecker suggestions. And in comm-central's code, `CheckCurrentWord` and `GetSuggestedWord` seems to use on spellchecker dialog (content/dialogs/EdSpellCheck.js in mail and suite) that runs on parent process. So c-c won't use this IPC method. So I would like to add the promise version of getting spellchecker's suggestion. Differential Revision: https://phabricator.services.mozilla.com/D119936 |
||
---|---|---|
.. | ||
composer | ||
docs | ||
libeditor | ||
reftests | ||
spellchecker | ||
txmgr | ||
AsyncSpellCheckTestHelper.jsm | ||
moz.build | ||
nsIDocumentStateListener.idl | ||
nsIEditActionListener.idl | ||
nsIEditor.idl | ||
nsIEditorMailSupport.idl | ||
nsIEditorSpellCheck.idl | ||
nsIHTMLAbsPosEditor.idl | ||
nsIHTMLEditor.idl | ||
nsIHTMLInlineTableEditor.idl | ||
nsIHTMLObjectResizer.idl | ||
nsITableEditor.idl |