~jaro/balkon

ref: 85383d46341222037bb8fa91204a8349b158011e balkon/src/Data/Text/ParagraphLayout/Internal/ParagraphLine.hs -rw-r--r-- 3.8 KiB
Add paragraphLines to Rich ParagraphLayout.

BREAKING: The paragraphLines field of ParagraphLayout must be preserved
for pagination.

BREAKING: The width of a rich text ParagraphLayout will now remain
unchanged after pagination.

BREAKING: Empty space at the top of the first line and at the bottom
of the last line in a ParagraphLayout will now be preserved.
Add forceLeftAlign function for testing.
Generalise shiftFragment function.

Intended for testing paragraphSafeWidth.
Refactor lineNumbers into a common module.
Fix documentation: internal references.
Deduplicate pagination code.
Implement Rich pagination.
Refactor pagination to allow rich layout.
Add user data to spans.
Use line numbers for page breaks.
Fix documentation: export dependencies of exported names.
Separate internal plain Paragraph/ParagraphLayout.
Fix style: white space in lambdas.
Implement splitting ParagraphLayout into lines.