mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 13:48:59 +00:00
* allow on position more at the row end for the completion
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23148 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
86f6347b77
commit
37b79f1039
@ -687,8 +687,8 @@ void RowPainter::paintText()
|
|||||||
&& inlineCompletionPos.text() == &text_
|
&& inlineCompletionPos.text() == &text_
|
||||||
&& inlineCompletionPos.pit() == pit_
|
&& inlineCompletionPos.pit() == pit_
|
||||||
&& inlineCompletionPos.pos() >= row_.pos()
|
&& inlineCompletionPos.pos() >= row_.pos()
|
||||||
&& inlineCompletionPos.pos() < row_.endpos()) {
|
&& inlineCompletionPos.pos() <= row_.endpos()) {
|
||||||
// draw visually behind the previous character
|
// draw logically behind the previous character
|
||||||
inlineCompletionVPos = bidi_.log2vis(inlineCompletionPos.pos() - 1);
|
inlineCompletionVPos = bidi_.log2vis(inlineCompletionPos.pos() - 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user