mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
b1bf7e0db4
For preparing to remove `nsIPlaintextEditor` interface, this patch moves all of them to `nsIEditor`, but for avoiding bustage in comm-central, makes `nsIPlaintextEditor` inherit `nsIEditor` for now (i.e., even with this patch, script can access old `nsIPlaintextEditor` members with the interface. In C++ code, this patch moves `SetWrapColumn()`, `InsertTextAsAction()`, `InsertTextAsSubAction()` and `InsertLineBreakAsSubAction()` because they do common things between `TextEditor` and `HTMLEditor`. On the other hand, this does not move `TextEditor::GetTextLength()` because it's designed only for `TextEditor`. Differential Revision: https://phabricator.services.mozilla.com/D60820 --HG-- rename : editor/libeditor/tests/test_nsIPlaintextEditor_insertLineBreak.html => editor/libeditor/tests/test_nsIEditor_insertLineBreak.html extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
tests | ||
EditorSpellCheck.cpp | ||
EditorSpellCheck.h | ||
FilteredContentIterator.cpp | ||
FilteredContentIterator.h | ||
moz.build | ||
nsComposeTxtSrvFilter.cpp | ||
nsComposeTxtSrvFilter.h | ||
nsIInlineSpellChecker.idl | ||
TextServicesDocument.cpp | ||
TextServicesDocument.h |