зеркало из https://github.com/mozilla/gecko-dev.git
84cbc7e792
`Document::ExecCommand()` knows subject principal. This patch makes it tell `EditorCommand::DoCommand()` and `EditorCommand::DoCommandParam()`. Then, makes they tell each editor public methods which may cause dispatching `beforeinput` event once we implement it. Finally, each editor public method sets it to the constructor of `EditorBase::AutoEditActionDataSetter`. This means that when editor tries to dispatch `beforeinput` event, editor can check whether it's called by JS or not from everywhere. Differential Revision: https://phabricator.services.mozilla.com/D29635 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
tests | ||
EditorSpellCheck.cpp | ||
EditorSpellCheck.h | ||
FilteredContentIterator.cpp | ||
FilteredContentIterator.h | ||
TextServicesDocument.cpp | ||
TextServicesDocument.h | ||
moz.build | ||
nsComposeTxtSrvFilter.cpp | ||
nsComposeTxtSrvFilter.h | ||
nsIInlineSpellChecker.idl |