зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1463985 - part 24: Rename EditSubAction::resetTextProperties to EditSubAction::eRemoveAllTextProperties r=m_kato
MozReview-Commit-ID: 1QKUg361MSY --HG-- extra : rebase_source : 7ed2f41e20e498e105fac8a88be90157dd812fa1
This commit is contained in:
Родитель
a9c4b1bc58
Коммит
a48c9c34aa
|
@ -58,6 +58,9 @@ enum class EditSubAction : int32_t
|
|||
// eRemoveTextProperty indicates to remove a style from text.
|
||||
eRemoveTextProperty,
|
||||
|
||||
// eRemoveAllTextProperties indicate to remove all styles from text.
|
||||
eRemoveAllTextProperties,
|
||||
|
||||
// eComputeTextToOutput indicates to compute the editor value as plain text
|
||||
// or something requested format.
|
||||
eComputeTextToOutput,
|
||||
|
@ -106,7 +109,6 @@ enum class EditSubAction : int32_t
|
|||
// source and insert into the DOM tree. So, this is similar to innerHTML.
|
||||
eInsertHTMLSource,
|
||||
|
||||
resetTextProperties,
|
||||
setAbsolutePosition,
|
||||
removeAbsolutePosition,
|
||||
decreaseZIndex,
|
||||
|
|
|
@ -1194,7 +1194,8 @@ HTMLEditor::RemoveAllInlineProperties()
|
|||
{
|
||||
AutoPlaceholderBatch batchIt(this);
|
||||
AutoTopLevelEditSubActionNotifier maybeTopLevelEditSubAction(
|
||||
*this, EditSubAction::resetTextProperties,
|
||||
*this,
|
||||
EditSubAction::eRemoveAllTextProperties,
|
||||
nsIEditor::eNext);
|
||||
|
||||
nsresult rv = RemoveInlineProperty(nullptr, nullptr);
|
||||
|
|
Загрузка…
Ссылка в новой задаче