hob-0.0.1.0: A source code editor aiming for the convenience of use

Safe HaskellNone
LanguageHaskell2010

Hob.Context

Documentation

type KeyboardBinding = ([Modifier], String) Source

type KeyCommandMatcher = SingleCommandMatcher KeyboardBinding Source

type TextCommandMatcher = SingleCommandMatcher String Source

data Mode Source

Constructors

Mode 

newtype Event Source

Constructors

Event String 

Instances

data EditorList Source

Constructors

EditorList 

Fields

updateEditors :: ([Editor] -> IO [Editor]) -> IO ()
 
getEditors :: IO [Editor]
 

runOnEditor :: (Editor -> Editor -> a) -> Editor -> a Source

fromContext :: MonadReader r m => (r -> a) -> m a Source

runApp :: Context -> App a -> IO a Source