mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
* the bidi array drives me crazy. It only holds the current row. So better check that our position is in that row.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23145 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0d7ca9cdc3
commit
3cdfa1708f
@ -685,7 +685,9 @@ void RowPainter::paintText()
|
||||
pos_type inlineCompletionVPos = -1;
|
||||
if (inlineCompletionPos.inTexted()
|
||||
&& inlineCompletionPos.text() == &text_
|
||||
&& inlineCompletionPos.pit() == pit_) {
|
||||
&& inlineCompletionPos.pit() == pit_
|
||||
&& inlineCompletionPos.pos() >= row_.pos()
|
||||
&& inlineCompletionPos.pos() < row_.endpos()) {
|
||||
// draw visually behind the previous character
|
||||
inlineCompletionVPos = bidi_.log2vis(inlineCompletionPos.pos() - 1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user