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:
Masayuki Nakano 2018-05-28 23:40:45 +09:00
Родитель a9c4b1bc58
Коммит a48c9c34aa
2 изменённых файлов: 5 добавлений и 2 удалений

Просмотреть файл

@ -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);