mirror of
https://github.com/github/semantic.git
synced 2024-12-18 12:21:57 +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
|
||||
rows (Leaf _) = reverse $ foldl adjoin2Lines [] $ Line . (:[]) <$> elements
|
||||
rows (Indexed i) = rewrapLineContentsInUl <$> childLines i
|
||||
rows (Fixed f) = rewrapLineContentsInUl <$> childLines f
|
||||
|
||||
rewrapLineContentsInUl (Line elements) = Line [ Ul (classify categories) elements ]
|
||||
rewrapLineContentsInUl EmptyLine = EmptyLine
|
||||
|
Loading…
Reference in New Issue
Block a user