TD.Data.TextRange
data TextRange Source #
Constructors
Describes a part of a text
Fields
Offset of the part, in UTF-16 code units
Length of the part, in UTF-16 code units
Defined in TD.Data.TextRange
Methods
parseJSON :: Value -> Parser TextRange #
parseJSONList :: Value -> Parser [TextRange] #
showsPrec :: Int -> TextRange -> ShowS #
show :: TextRange -> String #
showList :: [TextRange] -> ShowS #
(==) :: TextRange -> TextRange -> Bool #
(/=) :: TextRange -> TextRange -> Bool #
shortShow :: TextRange -> String Source #