зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
0468621c32
Коммит
5f8cd1a2a3
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче