зеркало из https://github.com/mozilla/gecko-dev.git
fix for 17673;r=sfraser
This commit is contained in:
Родитель
3f9ff89e9b
Коммит
1e84beb217
|
@ -142,6 +142,7 @@ nsTextEditRules::WillDoAction(nsIDOMSelection *aSelection,
|
|||
case kInsertBreak:
|
||||
return WillInsertBreak(aSelection, aCancel, aHandled);
|
||||
case kInsertText:
|
||||
case kInsertTextIME:
|
||||
return WillInsertText(aSelection,
|
||||
aCancel,
|
||||
aHandled,
|
||||
|
@ -149,8 +150,6 @@ nsTextEditRules::WillDoAction(nsIDOMSelection *aSelection,
|
|||
info->outString,
|
||||
info->typeInState,
|
||||
info->maxLength);
|
||||
case kInsertTextIME:
|
||||
return WillInsert(aSelection, aCancel);
|
||||
case kDeleteSelection:
|
||||
return WillDeleteSelection(aSelection, info->collapsedAction, aCancel, aHandled);
|
||||
case kUndo:
|
||||
|
@ -186,6 +185,7 @@ nsTextEditRules::DidDoAction(nsIDOMSelection *aSelection,
|
|||
case kInsertBreak:
|
||||
return DidInsertBreak(aSelection, aResult);
|
||||
case kInsertText:
|
||||
case kInsertTextIME:
|
||||
return DidInsertText(aSelection, aResult);
|
||||
case kDeleteSelection:
|
||||
return DidDeleteSelection(aSelection, info->collapsedAction, aResult);
|
||||
|
|
|
@ -142,6 +142,7 @@ nsTextEditRules::WillDoAction(nsIDOMSelection *aSelection,
|
|||
case kInsertBreak:
|
||||
return WillInsertBreak(aSelection, aCancel, aHandled);
|
||||
case kInsertText:
|
||||
case kInsertTextIME:
|
||||
return WillInsertText(aSelection,
|
||||
aCancel,
|
||||
aHandled,
|
||||
|
@ -149,8 +150,6 @@ nsTextEditRules::WillDoAction(nsIDOMSelection *aSelection,
|
|||
info->outString,
|
||||
info->typeInState,
|
||||
info->maxLength);
|
||||
case kInsertTextIME:
|
||||
return WillInsert(aSelection, aCancel);
|
||||
case kDeleteSelection:
|
||||
return WillDeleteSelection(aSelection, info->collapsedAction, aCancel, aHandled);
|
||||
case kUndo:
|
||||
|
@ -186,6 +185,7 @@ nsTextEditRules::DidDoAction(nsIDOMSelection *aSelection,
|
|||
case kInsertBreak:
|
||||
return DidInsertBreak(aSelection, aResult);
|
||||
case kInsertText:
|
||||
case kInsertTextIME:
|
||||
return DidInsertText(aSelection, aResult);
|
||||
case kDeleteSelection:
|
||||
return DidDeleteSelection(aSelection, info->collapsedAction, aResult);
|
||||
|
|
Загрузка…
Ссылка в новой задаче