fix bug 19358 r=jfrancis add IME force commit for Undo,SelectAll and Paste

This commit is contained in:
ftang%netscape.com 1999-12-09 22:37:36 +00:00
Родитель 50b47ad6e5
Коммит 2fdf046684
2 изменённых файлов: 4 добавлений и 0 удалений

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

@ -3398,6 +3398,7 @@ nsHTMLEditor::InsertFormattingForNode(nsIDOMNode* aNode)
NS_IMETHODIMP
nsHTMLEditor::Undo(PRUint32 aCount)
{
ForceCompositionEnd();
nsresult result = NS_OK;
BeginUpdateViewBatch();
@ -3476,6 +3477,7 @@ NS_IMETHODIMP nsHTMLEditor::Copy()
NS_IMETHODIMP nsHTMLEditor::Paste()
{
ForceCompositionEnd();
nsAutoString stuffToPaste;
// Get Clipboard Service

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

@ -3398,6 +3398,7 @@ nsHTMLEditor::InsertFormattingForNode(nsIDOMNode* aNode)
NS_IMETHODIMP
nsHTMLEditor::Undo(PRUint32 aCount)
{
ForceCompositionEnd();
nsresult result = NS_OK;
BeginUpdateViewBatch();
@ -3476,6 +3477,7 @@ NS_IMETHODIMP nsHTMLEditor::Copy()
NS_IMETHODIMP nsHTMLEditor::Paste()
{
ForceCompositionEnd();
nsAutoString stuffToPaste;
// Get Clipboard Service