branch: Another fix for bug #5061: A slight correction of the patch shown described in http://permalink.gmane.org/gmane.editors.lyx.devel/113507.

No status.16x entry needed.

see r31791.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32151 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2009-11-22 12:44:53 +00:00
parent feb5aae02b
commit 380ae9c292

View File

@ -542,7 +542,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 const boundary = cur.boundary()
|| tm.isRTLBoundary(cur.pit(), cur.pos() + 1);
setCursor(cur, cur.pit(), cur.pos() + 1, false, boundary);
charInserted(cur);
}