mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +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()
|
||||
{
|
||||
if (elements_.empty())
|
||||
|
@ -1176,6 +1176,9 @@ RowList TextMetrics::breakParagraph(Row const & bigrow) const
|
||||
// Last row in paragraph is flushed
|
||||
rows.back().flushed(true);
|
||||
cleanupRow(rows.back(), true);
|
||||
// Is there an end-of-paragraph change?
|
||||
if (bigrow.needsChangeBar())
|
||||
rows.back().needsChangeBar(true);
|
||||
}
|
||||
|
||||
return rows;
|
||||
|
Loading…
Reference in New Issue
Block a user