From: Dov Feldstern Date: Sat, 16 Feb 2008 18:39:20 +0000 (+0000) Subject: Fix typing of digits in RTL text, which was broken way back during the Font/Language... X-Git-Tag: 1.6.10~6245 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=deb86513df94264d2cde1dde154a988ede9b57e5;p=features.git Fix typing of digits in RTL text, which was broken way back during the Font/Language separation (r21240). The problem was that when typing a digit in RTL text, the language was being switched to LTR, which is wrong. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23037 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/Text3.cpp b/src/Text3.cpp index d5c1051080..5d3246fa52 100644 --- a/src/Text3.cpp +++ b/src/Text3.cpp @@ -374,7 +374,7 @@ void Text::number(Cursor & cur) { FontInfo font = ignore_font; font.setNumber(FONT_TOGGLE); - toggleAndShow(cur, this, Font(font)); + toggleAndShow(cur, this, Font(font, ignore_language)); }