Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
The #PangoItem structure stores information about a segment of text.
- newtype Item = Item (ForeignPtr Item)
- noItem :: Maybe Item
- itemCopy :: MonadIO m => Item -> m Item
- itemFree :: MonadIO m => Item -> m ()
- itemNew :: MonadIO m => m Item
- itemSplit :: MonadIO m => Item -> Int32 -> Int32 -> m Item
- itemReadAnalysis :: Item -> IO Analysis
- itemReadLength :: Item -> IO Int32
- itemReadNumChars :: Item -> IO Int32
- itemReadOffset :: Item -> IO Int32
Exported types
Methods
itemCopy
itemFree
itemNew
itemSplit
Properties
Analysis
itemReadAnalysis :: Item -> IO Analysis Source
Length
itemReadLength :: Item -> IO Int32 Source
NumChars
itemReadNumChars :: Item -> IO Int32 Source
Offset
itemReadOffset :: Item -> IO Int32 Source