mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
Bug 243931 - GTK2 build on AIX: Caret misplaced when inserting RTL input into LTR text.
Patch contributed by Lina Kemmel <lkemmel@il.ibm.com>. r=smontagu@smontagu.org, sr=roc@ocallahan.org
This commit is contained in:
parent
a37ff78a75
commit
d42947291e
@ -400,7 +400,8 @@ nsHTMLEditRules::AfterEdit(PRInt32 action, nsIEditor::EDirection aDirection)
|
||||
*
|
||||
* So we set the cursor Bidi level to UNDEFINED here, and the caret code will set it correctly later
|
||||
*/
|
||||
if (action == nsEditor::kOpInsertText) {
|
||||
if (action == nsEditor::kOpInsertText
|
||||
|| action == nsEditor::kOpInsertIMEText) {
|
||||
nsCOMPtr<nsIPresShell> shell;
|
||||
mEditor->GetPresShell(getter_AddRefs(shell));
|
||||
if (shell) {
|
||||
|
Loading…
Reference in New Issue
Block a user