Safe HaskellSafe

WEditor.Base.Line

Description

Simple representation of viewable text lines.

Synopsis

Documentation

data VisibleLine c b #

Line meant for viewing.

Constructors

VisibleLine 

Fields

  • vlBreak :: b

    The type of line break for this line.

  • vlText :: [c]

    The complete data of the line.

Instances

Instances details
(Eq b, Eq c) => Eq (VisibleLine c b) # 
Instance details

Defined in WEditor.Base.Line

Methods

(==) :: VisibleLine c b -> VisibleLine c b -> Bool

(/=) :: VisibleLine c b -> VisibleLine c b -> Bool

(Ord b, Ord c) => Ord (VisibleLine c b) # 
Instance details

Defined in WEditor.Base.Line

Methods

compare :: VisibleLine c b -> VisibleLine c b -> Ordering

(<) :: VisibleLine c b -> VisibleLine c b -> Bool

(<=) :: VisibleLine c b -> VisibleLine c b -> Bool

(>) :: VisibleLine c b -> VisibleLine c b -> Bool

(>=) :: VisibleLine c b -> VisibleLine c b -> Bool

max :: VisibleLine c b -> VisibleLine c b -> VisibleLine c b

min :: VisibleLine c b -> VisibleLine c b -> VisibleLine c b

(Show b, Show c) => Show (VisibleLine c b) # 
Instance details

Defined in WEditor.Base.Line

Methods

showsPrec :: Int -> VisibleLine c b -> ShowS

show :: VisibleLine c b -> String

showList :: [VisibleLine c b] -> ShowS