From cd15ffd9a9a97f0d57a153fe8013fec49f20b85d Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Thu, 29 Oct 2009 21:02:19 +0000 Subject: [PATCH] Another fix for bug #5061: A slight correction of the patch shown described in http://permalink.gmane.org/gmane.editors.lyx.devel/113507. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31791 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Text.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Text.cpp b/src/Text.cpp index 769285a149..9b38e9b15e 100644 --- a/src/Text.cpp +++ b/src/Text.cpp @@ -915,7 +915,8 @@ void Text::insertChar(Cursor & cur, char_type c) cur.checkBufferStructure(); // cur.updateFlags(Update::Force); - bool boundary = tm.isRTLBoundary(cur.pit(), cur.pos() + 1); + bool boundary = cur.boundary() + || tm.isRTLBoundary(cur.pit(), cur.pos() + 1); setCursor(cur, cur.pit(), cur.pos() + 1, false, boundary); charInserted(cur); } -- 2.39.2