~jaro/balkon

ref: 0f5dfa9a2b6865dc46ef926983c64b2ab11fa3d1 balkon/src/Data/Text/ParagraphLayout/ResolvedSpan.hs -rw-r--r-- 380 bytes
0f5dfa9aJaro Use infix operators for constructing test data. 1 year, 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
module Data.Text.ParagraphLayout.ResolvedSpan (ResolvedSpan(..))
where

import Data.Text (Text)
import Data.Text.Glyphize (Font)

-- | Internal structure containing resolved values that may be shared with
-- other spans across the paragraph.
data ResolvedSpan = ResolvedSpan
    { spanText :: Text
    , spanFont :: Font
    , spanLanguage :: String
    }
    deriving (Eq, Show)