Bug 342536 - Backing out _remove the redundant DeleteSelection call_ patch from bug 312778
git-svn-id: svn://10.0.0.236/trunk@200721 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -447,6 +447,7 @@ NS_IMETHODIMP mozInlineSpellChecker::ReplaceWord(nsIDOMNode *aNode, PRInt32 aOff
|
||||
NS_ENSURE_SUCCESS(res, res);
|
||||
selection->RemoveAllRanges();
|
||||
selection->AddRange(range);
|
||||
editor->DeleteSelection(nsIEditor::eNone);
|
||||
|
||||
nsCOMPtr<nsIPlaintextEditor> textEditor(do_QueryReferent(mEditor));
|
||||
textEditor->InsertText(newword);
|
||||
|
||||
Reference in New Issue
Block a user