Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
This is a monad-transformer stack for performing actions against the editor.
You register Actions to be run in response to events using eventListener
Within an Action you can:
execAction :: Editor -> Hooks -> Action () -> IO Editor Source #
Unwrap and execute an Action (returning the editor state)
evalAction :: Editor -> Hooks -> Action a -> IO a Source #
Unwrap and evaluate an Action (returning the value)
This is a monad-transformer stack for performing actions on a specific buffer.
You register BufActions to be run by embedding them in a scheduled Action
via bufferDo
or focusDo
Within a BufAction you can: