mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 11:26:09 +00:00
9973ff7319
Only for solving the order of `AutoEditInitRulesTrigger` destruction when `HTMLEditor::Init()` calls `TextEditor::Init()`, `TextEditor` has unnecessary counter and the initialization code is made harder to understand. Therefore, this patch makes `TextEditor::Init()` and `HTMLEditor::Init()` directly call `InitEditorContentAndSelection()` at appropriate time. Additionally, `HTMLEditor::Init()` can call `EditorBase::Init()` instead of `TextEditor::Init()` since `TextEditor::Init()` does nothing for `HTMLEditor` actually. Differential Revision: https://phabricator.services.mozilla.com/D45793 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
composer | ||
libeditor | ||
reftests | ||
spellchecker | ||
txmgr | ||
AsyncSpellCheckTestHelper.jsm | ||
moz.build | ||
nsIDocumentStateListener.idl | ||
nsIEditActionListener.idl | ||
nsIEditor.idl | ||
nsIEditorMailSupport.idl | ||
nsIEditorObserver.idl | ||
nsIEditorSpellCheck.idl | ||
nsIEditorStyleSheets.idl | ||
nsIHTMLAbsPosEditor.idl | ||
nsIHTMLEditor.idl | ||
nsIHTMLInlineTableEditor.idl | ||
nsIHTMLObjectResizer.idl | ||
nsIPlaintextEditor.idl | ||
nsITableEditor.idl |