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