WEditor-0.2.1.1: Generic text-editor logic for use with fixed-width fonts.

Safe HaskellSafe
LanguageHaskell2010

WEditor.Base.Line

Description

Simple representation of viewable text lines.

Synopsis

Documentation

data VisibleLine c b Source #

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
(Eq b, Eq c) => Eq (VisibleLine c b) Source # 
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) Source # 
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) Source # 
Instance details

Defined in WEditor.Base.Line

Methods

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

show :: VisibleLine c b -> String #

showList :: [VisibleLine c b] -> ShowS #