mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-22 16:37:28 +00:00
rowpainter.cpp: forgot these changes in r35283
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35284 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f01e36b646
commit
0be0823505
@ -331,7 +331,7 @@ void RowPainter::paintForeignMark(double orig_x, Language const * lang,
|
|||||||
void RowPainter::paintMisspelledMark(double orig_x, int desc)
|
void RowPainter::paintMisspelledMark(double orig_x, int desc)
|
||||||
{
|
{
|
||||||
int const y = yo_ + desc;
|
int const y = yo_ + desc;
|
||||||
pi_.pain.line(int(orig_x), y, int(x_), y, Color_red, Painter::line_onoffdash, Painter::line_thin);
|
pi_.pain.line(int(orig_x), y, int(x_), y, Color_red, Painter::line_onoffdash, 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -641,14 +641,14 @@ void RowPainter::paintLast()
|
|||||||
Color col = change.color();
|
Color col = change.color();
|
||||||
|
|
||||||
pi_.pain.line(int(x_) + 1, yo_ + 2, int(x_) + 1, yo_ + 2 - length, col,
|
pi_.pain.line(int(x_) + 1, yo_ + 2, int(x_) + 1, yo_ + 2 - length, col,
|
||||||
Painter::line_solid, Painter::line_thick);
|
Painter::line_solid, 3);
|
||||||
|
|
||||||
if (change.deleted()) {
|
if (change.deleted()) {
|
||||||
pi_.pain.line(int(x_) + 1 - length, yo_ + 2, int(x_) + 1 + length,
|
pi_.pain.line(int(x_) + 1 - length, yo_ + 2, int(x_) + 1 + length,
|
||||||
yo_ + 2, col, Painter::line_solid, Painter::line_thick);
|
yo_ + 2, col, Painter::line_solid, 3);
|
||||||
} else {
|
} else {
|
||||||
pi_.pain.line(int(x_) + 1 - length, yo_ + 2, int(x_) + 1,
|
pi_.pain.line(int(x_) + 1 - length, yo_ + 2, int(x_) + 1,
|
||||||
yo_ + 2, col, Painter::line_solid, Painter::line_thick);
|
yo_ + 2, col, Painter::line_solid, 3);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -821,8 +821,7 @@ void RowPainter::paintText()
|
|||||||
int const y_bar = change_running.deleted() ?
|
int const y_bar = change_running.deleted() ?
|
||||||
yo_ - fm.maxAscent() / 3 : yo_ + fm.maxAscent() / 6;
|
yo_ - fm.maxAscent() / 3 : yo_ + fm.maxAscent() / 6;
|
||||||
pi_.pain.line(change_last_x, y_bar, int(x_), y_bar,
|
pi_.pain.line(change_last_x, y_bar, int(x_), y_bar,
|
||||||
change_running.color(), Painter::line_solid,
|
change_running.color(), Painter::line_solid, 0.5);
|
||||||
Painter::line_thin);
|
|
||||||
|
|
||||||
// Change might continue with a different author or type
|
// Change might continue with a different author or type
|
||||||
if (change.changed() && !highly_editable_inset) {
|
if (change.changed() && !highly_editable_inset) {
|
||||||
@ -882,7 +881,7 @@ void RowPainter::paintText()
|
|||||||
int const y_bar = change_running.deleted() ?
|
int const y_bar = change_running.deleted() ?
|
||||||
yo_ - fm.maxAscent() / 3 : yo_ + fm.maxAscent() / 6;
|
yo_ - fm.maxAscent() / 3 : yo_ + fm.maxAscent() / 6;
|
||||||
pi_.pain.line(change_last_x, y_bar, int(x_), y_bar,
|
pi_.pain.line(change_last_x, y_bar, int(x_), y_bar,
|
||||||
change_running.color(), Painter::line_solid, Painter::line_thin);
|
change_running.color(), Painter::line_solid, 0.5);
|
||||||
change_running.setUnchanged();
|
change_running.setUnchanged();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user