]> git.lyx.org Git - features.git/commit
Break the paragraph's big row according to margins
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 13 Jul 2021 22:47:42 +0000 (00:47 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 23 Nov 2021 15:31:29 +0000 (16:31 +0100)
commit708fc0c2d5c9cf7163b41519b71026d806c4f047
tree1eace66a56ffc2e93ee312e210540405a615545a
parenta9858f70128acb253b7152204f44b395ab9d8370
Break the paragraph's big row according to margins

Still many features missing:
- handle insets that break rows (display math, newline, ...)
- handle rows that are too long by replacing the single call to
  breakAt with a call to a reworked Row::shortenIfNeeded.
- some easy things at the end of breakRow (bidi text, etc.).
src/TextMetrics.cpp
src/TextMetrics.h