mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
fix bug 19358 r=jfrancis add IME force commit for Undo,SelectAll and Paste
This commit is contained in:
parent
4d99b4999b
commit
c3b2fbc5fd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user