~jaro/balkon

f10796b2b66a7466a9d4f72c6140748d5dafc2f3 — Jaro 1 year, 1 month ago 3568fab
Remove lines with zero size.

These lines would otherwise affect line numbering.
1 files changed, 1 insertions(+), 1 deletions(-)

M src/Data/Text/ParagraphLayout/Internal/Plain.hs
M src/Data/Text/ParagraphLayout/Internal/Plain.hs => src/Data/Text/ParagraphLayout/Internal/Plain.hs +1 -1
@@ 69,7 69,7 @@ layoutAndAlignLines maxWidth runs = frags
        frags = concat fragsInLines
        (_, fragsInLines) = mapAccumL positionLineH originY canonicalLines
        canonicalLines = fmap canonicalOrder logicalLines
        logicalLines = layoutLines maxWidth runs
        logicalLines = NonEmpty.filter (not . null) $ layoutLines maxWidth runs
        originY = paragraphOriginY

-- | Reorder the given fragments from logical order to whatever order HarfBuzz