mirror of
https://github.com/github/semantic.git
synced 2024-12-19 12:51:52 +03:00
Split rendering of Fixed terms in Patches.
This commit is contained in:
parent
7ca6481cec
commit
00826a1a82
@ -129,6 +129,7 @@ termToLines (Info range _ categories :< syntax) source = (rows syntax, range)
|
|||||||
where
|
where
|
||||||
rows (Leaf _) = reverse $ foldl adjoin2Lines [] $ Line . (:[]) <$> elements
|
rows (Leaf _) = reverse $ foldl adjoin2Lines [] $ Line . (:[]) <$> elements
|
||||||
rows (Indexed i) = rewrapLineContentsInUl <$> childLines i
|
rows (Indexed i) = rewrapLineContentsInUl <$> childLines i
|
||||||
|
rows (Fixed f) = rewrapLineContentsInUl <$> childLines f
|
||||||
|
|
||||||
rewrapLineContentsInUl (Line elements) = Line [ Ul (classify categories) elements ]
|
rewrapLineContentsInUl (Line elements) = Line [ Ul (classify categories) elements ]
|
||||||
rewrapLineContentsInUl EmptyLine = EmptyLine
|
rewrapLineContentsInUl EmptyLine = EmptyLine
|
||||||
|
Loading…
Reference in New Issue
Block a user