Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
type Highlights = IntervalMap Int Highlight Source #
highlightInterval :: Semigroup a => (Text -> a) -> (Highlight -> a -> a) -> Text -> Int -> Int -> Highlights -> a Source #
prettyInterval :: Text -> Int -> Int -> Highlights -> Doc Highlight Source #
defaultStyle :: Highlight -> AnsiStyle Source #