Safe HaskellSafe

WEditor.Base.Para

Description

Simple representation of text paragraphs.

Synopsis

Documentation

data UnparsedPara c #

Single paragraph that has not been parsed into lines.

Constructors

UnparsedPara 

Fields

  • upText :: [c]

    The complete and uparsed paragraph data.

Instances

Instances details
Eq c => Eq (UnparsedPara c) # 
Instance details

Defined in WEditor.Base.Para

Methods

(==) :: UnparsedPara c -> UnparsedPara c -> Bool

(/=) :: UnparsedPara c -> UnparsedPara c -> Bool

Ord c => Ord (UnparsedPara c) # 
Instance details

Defined in WEditor.Base.Para

Methods

compare :: UnparsedPara c -> UnparsedPara c -> Ordering

(<) :: UnparsedPara c -> UnparsedPara c -> Bool

(<=) :: UnparsedPara c -> UnparsedPara c -> Bool

(>) :: UnparsedPara c -> UnparsedPara c -> Bool

(>=) :: UnparsedPara c -> UnparsedPara c -> Bool

max :: UnparsedPara c -> UnparsedPara c -> UnparsedPara c

min :: UnparsedPara c -> UnparsedPara c -> UnparsedPara c

Show c => Show (UnparsedPara c) # 
Instance details

Defined in WEditor.Base.Para

Methods

showsPrec :: Int -> UnparsedPara c -> ShowS

show :: UnparsedPara c -> String

showList :: [UnparsedPara c] -> ShowS

emptyPara :: UnparsedPara c #

Create an empty paragraph.