mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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
This commit is contained in:
parent
d0859f23d0
commit
cd15ffd9a9
@ -915,7 +915,8 @@ void Text::insertChar(Cursor & cur, char_type c)
|
|||||||
cur.checkBufferStructure();
|
cur.checkBufferStructure();
|
||||||
|
|
||||||
// cur.updateFlags(Update::Force);
|
// 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);
|
setCursor(cur, cur.pit(), cur.pos() + 1, false, boundary);
|
||||||
charInserted(cur);
|
charInserted(cur);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user