bar has to be painted, also consider the imaginary
end-of-par character
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15644
a592a061-630c-0410-9148-
cb99ea01b6c8
void RowPainter::paintChangeBar()
{
pos_type const start = row_.pos();
- pos_type const end = row_.endpos();
+ pos_type end = row_.endpos();
+
+ if (par_.size() == end) {
+ // this is the last row of the paragraph;
+ // thus, we must also consider the imaginary end-of-par character
+ end++;
+ }
if (start == end || !par_.isChanged(start, end))
return;