mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
parent
94118b865e
commit
8832f816ce
@ -425,6 +425,7 @@ bool Row::sameString(Font const & f, Change const & ch) const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// FIXME: remove this and move the changebar update to Row::push_back()
|
||||||
void Row::finalizeLast()
|
void Row::finalizeLast()
|
||||||
{
|
{
|
||||||
if (elements_.empty())
|
if (elements_.empty())
|
||||||
|
@ -1176,6 +1176,9 @@ RowList TextMetrics::breakParagraph(Row const & bigrow) const
|
|||||||
// Last row in paragraph is flushed
|
// Last row in paragraph is flushed
|
||||||
rows.back().flushed(true);
|
rows.back().flushed(true);
|
||||||
cleanupRow(rows.back(), true);
|
cleanupRow(rows.back(), true);
|
||||||
|
// Is there an end-of-paragraph change?
|
||||||
|
if (bigrow.needsChangeBar())
|
||||||
|
rows.back().needsChangeBar(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
return rows;
|
return rows;
|
||||||
|
Loading…
Reference in New Issue
Block a user