mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 19:14:51 +00:00
* cosmetic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23132 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7b0ea48d31
commit
f614d46ca1
@ -768,7 +768,7 @@ void RowPainter::paintText()
|
|||||||
|
|
||||||
// Is the inline completion in front of character?
|
// Is the inline completion in front of character?
|
||||||
if (font.isRightToLeft() && vpos == inlineCompletionVPos_)
|
if (font.isRightToLeft() && vpos == inlineCompletionVPos_)
|
||||||
paintInlineCompletion(vpos, font);
|
paintInlineCompletion(font);
|
||||||
|
|
||||||
if (par_.isSeparator(pos)) {
|
if (par_.isSeparator(pos)) {
|
||||||
Font const orig_font = text_metrics_.getDisplayFont(pit_, pos);
|
Font const orig_font = text_metrics_.getDisplayFont(pit_, pos);
|
||||||
@ -792,7 +792,7 @@ void RowPainter::paintText()
|
|||||||
|
|
||||||
// Is the inline completion after character?
|
// Is the inline completion after character?
|
||||||
if (!font.isRightToLeft() && vpos - 1 == inlineCompletionVPos_)
|
if (!font.isRightToLeft() && vpos - 1 == inlineCompletionVPos_)
|
||||||
paintInlineCompletion(vpos, font);
|
paintInlineCompletion(font);
|
||||||
}
|
}
|
||||||
|
|
||||||
// if we reach the end of a struck out range, paint it
|
// if we reach the end of a struck out range, paint it
|
||||||
@ -808,7 +808,7 @@ void RowPainter::paintText()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void RowPainter::paintInlineCompletion(pos_type & vpos, Font const & font)
|
void RowPainter::paintInlineCompletion(Font const & font)
|
||||||
{
|
{
|
||||||
docstring completion = pi_.base.bv->inlineCompletion();
|
docstring completion = pi_.base.bv->inlineCompletion();
|
||||||
FontInfo f = font.fontInfo();
|
FontInfo f = font.fontInfo();
|
||||||
|
@ -63,7 +63,7 @@ private:
|
|||||||
int paintAppendixStart(int y);
|
int paintAppendixStart(int y);
|
||||||
void paintFromPos(pos_type & vpos);
|
void paintFromPos(pos_type & vpos);
|
||||||
void paintInset(Inset const * inset, pos_type const pos);
|
void paintInset(Inset const * inset, pos_type const pos);
|
||||||
void paintInlineCompletion(pos_type & vpos, Font const & font);
|
void paintInlineCompletion(Font const & font);
|
||||||
|
|
||||||
/// return left margin
|
/// return left margin
|
||||||
int leftMargin() const;
|
int leftMargin() const;
|
||||||
|
Loading…
Reference in New Issue
Block a user