~jaro/balkon

ref: 9e3b0ec7fd4a92e3d2dba81cd00dadc4dfe4006c balkon/src/Data/Text/ParagraphLayout/Internal/Layout.hs -rw-r--r-- 14.7 KiB
Remove TODO which would require an API break.
Simplify code since run direction is always known.
Add TODO for end-of-line whitespace.
Propagate BiDi levels to layout algorithm.

BREAKING: Text direction of the root box is now correctly used for
ordering fragments. Previously, the order was always LTR.
Fix documentation: internal references.
Describe box edges with extensible type.
Handle ancestor boxes in rich layout.
Add ancestor boxes to interface.
Improve code readability with type alias.
Separate WithSpan for sharing with other modules.
Embed TextOptions in ResolvedSpan.

SpanOptions are relegated to the legacy Plain interface, and
TextOptions are now being used internally.
Separate interface-independent layout algorithm.