mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
reverting r20422 until I know more about this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20444 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
5aec75f931
commit
731ae937ea
@ -178,15 +178,10 @@ Point coordOffset(BufferView const & bv, DocIterator const & dit,
|
||||
bool rtl = bv.textMetrics(sl.text()).isRTL(sl, boundary_i);
|
||||
if (rtl)
|
||||
x -= lastw;
|
||||
// remember width for the case that sl.inset() is positioned in an RTL inset
|
||||
Dimension const & dim = bv.parMetrics(sl.text(), sl.pit()).
|
||||
insetDimension(&sl.inset());
|
||||
lastw = dim.wid;
|
||||
} else {
|
||||
// remember width for the case that sl.inset() is positioned in an RTL inset
|
||||
Dimension const dim = sl.inset().dimension(bv);
|
||||
lastw = dim.wid;
|
||||
}
|
||||
// remember width for the case that sl.inset() is positioned in an RTL inset
|
||||
Dimension const dim = sl.inset().dimension(bv);
|
||||
lastw = dim.wid;
|
||||
|
||||
//lyxerr << "Cursor::getPos, i: "
|
||||
// << i << " x: " << xx << " y: " << y << endl;
|
||||
|
Loading…
Reference in New Issue
Block a user