mirror of
https://github.com/github/semantic.git
synced 2024-12-18 20:31:55 +03:00
Split rendering of Fixed
nodes in Free
.
This commit is contained in:
parent
18b50a05ab
commit
6afa81a197
@ -150,6 +150,7 @@ annotatedToRows (Annotated (Info left _ leftCategories, Info right _ rightCatego
|
|||||||
where
|
where
|
||||||
rows (Leaf _) = zipWithMaybe rowFromMaybeRows leftElements rightElements
|
rows (Leaf _) = zipWithMaybe rowFromMaybeRows leftElements rightElements
|
||||||
rows (Indexed i) = wrapRows i
|
rows (Indexed i) = wrapRows i
|
||||||
|
rows (Fixed f) = wrapRows f
|
||||||
|
|
||||||
leftElements = (elementAndBreak $ Span (classify leftCategories)) =<< actualLines (substring left before)
|
leftElements = (elementAndBreak $ Span (classify leftCategories)) =<< actualLines (substring left before)
|
||||||
rightElements = (elementAndBreak $ Span (classify rightCategories)) =<< actualLines (substring right after)
|
rightElements = (elementAndBreak $ Span (classify rightCategories)) =<< actualLines (substring right after)
|
||||||
|
Loading…
Reference in New Issue
Block a user