mirror of
https://github.com/github/semantic.git
synced 2024-12-22 22:31:36 +03:00
🔥 the old commented-out alignSyntax
.
This commit is contained in:
parent
de6696ce50
commit
5ffd45ebe5
@ -205,9 +205,3 @@ applyThese _ _ = Nothing
|
|||||||
|
|
||||||
modifyJoin :: (p a a -> q b b) -> Join p a -> Join q b
|
modifyJoin :: (p a a -> q b b) -> Join p a -> Join q b
|
||||||
modifyJoin f = Join . f . runJoin
|
modifyJoin f = Join . f . runJoin
|
||||||
|
|
||||||
-- alignSyntax :: Source Char -> Range -> Syntax leaf (AlignedDiff leaf) -> [Syntax leaf (SplitDiff leaf Info)]
|
|
||||||
-- alignSyntax source range syntax = case syntax of
|
|
||||||
-- Leaf s -> Leaf s <$ lineRanges
|
|
||||||
-- _ -> []
|
|
||||||
-- where lineRanges = actualLineRanges range source
|
|
||||||
|
Loading…
Reference in New Issue
Block a user