~jaro/balkon

aa671a1a1c06a58944469764cf073ac835fcdf89 — Jaro 1 year, 7 months ago d9bc86e
Clarify comment about BiDi.
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
@@ 84,7 84,7 @@ layoutAndAlignLines maxWidth runs = frags
canonicalOrder :: [WithSpan PF.ProtoFragment] -> [WithSpan PF.ProtoFragment]
canonicalOrder [] = []
canonicalOrder pfs@((WithSpan _ headPF) : _) = case PF.direction headPF of
    -- TODO: Update for bidi.
    -- TODO: Use BiDi levels to control reversing.
    Just DirLTR -> pfs
    Just DirRTL -> reverse pfs
    Just DirTTB -> pfs