Bug 294168 IME transaction of Undo/Redo buffer is broken when selected text is deleted by IME input r=timeless, sr=sfraser, a=chofmann

This commit is contained in:
masayuki%d-toybox.com 2005-06-21 03:42:39 +00:00
Родитель 66ee1984e4
Коммит f19bd02ece
1 изменённых файлов: 22 добавлений и 26 удалений

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

@ -198,9 +198,6 @@ NS_IMETHODIMP PlaceholderTxn::Merge(nsITransaction *aTransaction, PRBool *aDidMe
(mName.get() == nsEditor::gIMETxnName) ||
(mName.get() == nsEditor::gDeleteTxnName))
&& !mCommitted )
{
// but only if this placeholder started with a collapsed selection
if (mStartSel->IsCollapsed())
{
nsCOMPtr<nsIAbsorbingTransaction> plcTxn;// = do_QueryInterface(editTxn);
// can't do_QueryInterface() above due to our broken transaction interfaces.
@ -232,7 +229,6 @@ NS_IMETHODIMP PlaceholderTxn::Merge(nsITransaction *aTransaction, PRBool *aDidMe
}
}
}
}
return NS_OK;
}