Safe Haskell | Safe |
---|
Simple representation of text paragraphs.
Synopsis
- data UnparsedPara c = UnparsedPara {
- upText :: [c]
- emptyPara :: UnparsedPara c
Documentation
data UnparsedPara c #
Single paragraph that has not been parsed into lines.
UnparsedPara | |
|
Instances
Eq c => Eq (UnparsedPara c) # | |
Defined in WEditor.Base.Para (==) :: UnparsedPara c -> UnparsedPara c -> Bool (/=) :: UnparsedPara c -> UnparsedPara c -> Bool | |
Ord c => Ord (UnparsedPara c) # | |
Defined in WEditor.Base.Para 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) # | |
Defined in WEditor.Base.Para showsPrec :: Int -> UnparsedPara c -> ShowS show :: UnparsedPara c -> String showList :: [UnparsedPara c] -> ShowS |
emptyPara :: UnparsedPara c #
Create an empty paragraph.