~jaro/balkon

ref: ab656a2899d3cade7899b8ef905e5caafc085ee4 balkon/src/Data/Text/ParagraphLayout/Internal/Plain.hs -rw-r--r-- 13.8 KiB
Remove collapsible spaces at beginning of lines.
Allow empty lines when hard line breaking.
Support hard line breaks.
Document considerations for beginsText/endsText.
Properly use ICU locale identifiers.
Clarify spanLanguage and add basic ICU conversion.
Refactor line breaking.
Allow breaking at character bounds.
Use a single list of line breaking alternatives.
Implement trimming spaces at end of lines.
Remove redundant overflow handling.

This may be useful later when words are allowed to overflow, but this
code path is currently unused.
Decompose ProtoFragment construction.
Implement correct positioning of RTL runs.
Make SpanOptions a separate type.
Slightly decompose the Plain module.
Update documentation and derived instances.
Use internal library to hide non-public modules.
Move non-public modules into Internal namespace.
Represent line breaks directly without offsets.
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.
Next