mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 07:45:30 +00:00
99341a9445
When we implement InputEvent.inputType, we need to set a stack class to record which edit action is currently handled. However, currently, we call smaller jobs as edit action. For example, when user types a character at selecting some characters, then, EditAction::deleteSelection is performed first, then, EditAction::insertText is performed. However, for the InputEvent.inputType, we need inserText information. So, for making new enum EditAction, we need to rename current EditAction to EditSubAction. And also this renames related stuff: EditorBase::mIsInEditAction -> EditorBase::mIsInEditSubAction EditorBase::IsInEditAction() -> EditorBase::IsInEditSubAction() EditorBase::mAction -> EditorBase::mTopLevelEditSubAction TextEditRules::mTheAction -> TextEditRules::mTopLevelEditSubAction EditorBase::StartOperation() -> EditorBase::OnStartToHandleTopLevelEditSubAction() EditorBase::EndOperation() -> EditorBase::OnEndHandlingTopLevelEditSubAction() AutoRules -> AutoTopLevelEditSubActionNotifier RulesInfo -> EditSubActionInfo MozReview-Commit-ID: cvSkPUjFm1 --HG-- extra : rebase_source : baf527a3e353b7a8ebe9a46be2243b059c500234 |
||
---|---|---|
.. | ||
composer | ||
libeditor | ||
reftests | ||
spellchecker | ||
txmgr | ||
AsyncSpellCheckTestHelper.jsm | ||
moz.build | ||
nsEditorCID.h | ||
nsIDocumentStateListener.idl | ||
nsIEditActionListener.idl | ||
nsIEditor.idl | ||
nsIEditorMailSupport.idl | ||
nsIEditorObserver.idl | ||
nsIEditorSpellCheck.idl | ||
nsIEditorStyleSheets.idl | ||
nsIEditorUtils.idl | ||
nsIHTMLAbsPosEditor.idl | ||
nsIHTMLEditor.idl | ||
nsIHTMLInlineTableEditor.idl | ||
nsIHTMLObjectResizer.idl | ||
nsIPlaintextEditor.idl | ||
nsITableEditor.idl | ||
nsIURIRefObject.idl |