]> git.lyx.org Git - features.git/commit
Last step of transition: use sortenIfNeeded again.
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 19 Jul 2021 22:07:13 +0000 (00:07 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 23 Nov 2021 15:31:30 +0000 (16:31 +0100)
commit0961eb45355e2efd9f2c6597bab09903334c6b9a
treea1c758fc0483971f1999bb58c4f9c443b4ba2173
parent1bc07bd7d2fd60b5630a7536879604044d55053c
Last step of transition: use sortenIfNeeded again.

Change semantics of Row::shortenIfNeeded: instead of breaking the row
and returning a boolean, it returns the list of row elements that have
been removed (or broken) from the row. The logic of the method remains
the same.

Use shortenIfNeeded in breakParagraph. This was the last missing block.

Remove Row::breakAt and the old breakRow. Only bugs remain now :)
src/Row.cpp
src/Row.h
src/TextMetrics.cpp
src/TextMetrics.h