| Copyright | (C) 2011-2015 Edward Kmett |
|---|---|
| License | BSD-style (see the file LICENSE) |
| Maintainer | Edward Kmett <ekmett@gmail.com> |
| Stability | experimental |
| Portability | non-portable |
| Safe Haskell | Safe |
| Language | Haskell2010 |
Text.Trifecta.Delta
Description
Documentation
Constructors
| Columns !Int64 !Int64 | |
| Tab !Int64 !Int64 !Int64 | |
| Lines !Int64 !Int64 !Int64 !Int64 | |
| Directed !ByteString !Int64 !Int64 !Int64 !Int64 |
Instances
Instances
| HasDelta Char Source | |
| HasDelta Word8 Source | |
| HasDelta ByteString Source | |
| HasDelta Delta Source | |
| HasDelta Rope Source | |
| HasDelta Strand Source | |
| HasDelta HighlightedRope Source | |
| HasDelta Rendering Source | |
| HasDelta Caret Source | |
| HasDelta (Careted a) Source | |
| HasDelta (Rendered a) Source | |
| (HasDelta l, HasDelta r) => HasDelta (Either l r) Source | |
| (Measured v a, HasDelta v) => HasDelta (FingerTree v a) Source |
near :: (HasDelta s, HasDelta t) => s -> t -> Bool Source
Should we show two things with a Delta on the same line?
column :: HasDelta t => t -> Int64 Source
Retrieve the character offset within the current line from this Delta.
columnByte :: Delta -> Int64 Source
Retrieve the byte offset within the current line from this Delta.