~jaro/balkon

ref: b7e2da83c6eaeb921f5113e58f2f1fa4e580e292 balkon/src/Data/Text/ParagraphLayout/Internal/Run.hs -rw-r--r-- 5.3 KiB
Allow generating an empty run.
Internally mark hard line breaks.
Simplify code since run direction is always known.
Integrate BiDi levels with spanToRuns algorithm.

Span/box boundaries no longer reset directionality.

BREAKING: Text with no strongly directional characters would
previously be treated as having no direction. It will now be
treated as having the direction defined in TextOptions.
This affects calculated positions.
Prepare for extending ProtoRun.
Move ScriptCode to appropriate module.
Add user data to spans.
Fix documentation: export dependencies of exported names.
Fix style: long lines.
Fix style: external vs internal imports.
Fix style: white space around operators.
Fix style: white space in exports and imports.
Remove collapsible spaces at beginning of lines.
Add dropWhileEnd to SeparableTextContainer.
Update documentation and derived instances.
Move non-public modules into Internal namespace.
Remove I8/Int distinction.

The distinction was meant to provide additional type safety, but
inconsistency with other used libraries required too many workarounds
for this to be beneficial.
Define SeparableTextContainer as its own class.
Minimise working with Data.Text.Internal.
Implement run splitting.
Next