yi-frontend-pango-0.14.1: Pango frontend for Yi editor

LicenseGPL
Safe HaskellNone
LanguageHaskell2010

Yi.Frontend.Pango.Control

Description

 

Synopsis

Documentation

data Control Source #

Constructors

Control 

Fields

newtype ControlM a Source #

Constructors

ControlM 

Instances

Monad ControlM Source # 

Methods

(>>=) :: ControlM a -> (a -> ControlM b) -> ControlM b #

(>>) :: ControlM a -> ControlM b -> ControlM b #

return :: a -> ControlM a #

fail :: String -> ControlM a #

Functor ControlM Source # 

Methods

fmap :: (a -> b) -> ControlM a -> ControlM b #

(<$) :: a -> ControlM b -> ControlM a #

Applicative ControlM Source # 

Methods

pure :: a -> ControlM a #

(<*>) :: ControlM (a -> b) -> ControlM a -> ControlM b #

(*>) :: ControlM a -> ControlM b -> ControlM b #

(<*) :: ControlM a -> ControlM b -> ControlM a #

MonadReader Control ControlM Source # 

Methods

ask :: ControlM Control #

local :: (Control -> Control) -> ControlM a -> ControlM a #

reader :: (Control -> a) -> ControlM a #

MonadBase IO ControlM Source # 

Methods

liftBase :: IO α -> ControlM α #

data Buffer Source #

Constructors

Buffer 

Fields

data Iter Source #

Constructors

Iter 

withCurrentBuffer :: MonadEditor m => BufferM a -> m a #

Perform action with current window's buffer

keyTable :: Map Text Key Source #

Map GTK long names to Keys